me
/
guix
Archived
1
0
Fork 0

gnu: jsoncpp: Fix cross-compilation.

* gnu/packages/serialization.scm (jsoncpp)[arguments]: Add configure flag to
prevent running a test during the build process.
master
Marius Bakke 2020-01-26 13:02:29 +01:00
parent 38746d026c
commit 4d67659700
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
;;; Copyright © 2015, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
@ -297,7 +297,10 @@ that implements both the msgpack and msgpack-rpc specifications.")
"037d1b1qdmn3rksmn1j71j26bv4hkjv7sn7da261k853xb5899sg"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES")
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"
,@(if (%current-target-system)
`("-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF")
'()))
,@(if (%current-target-system)
'()
`(#:cmake ,cmake-bootstrap))))