1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-24 18:11:51 +02:00

gnu: pugixml: Build relocatable library.

* gnu/packages/xml.scm (pugixml): Add "-shared -fPIC" to ensure the
library is relocatable.

Signed-off-by: Kei Kebreau <kei@openmailbox.org>
This commit is contained in:
Roel Janssen
2017-03-02 01:00:35 +01:00
committed by Kei Kebreau
parent 3190c307f9
commit 52c14bb6ec
+3 -1
View File
@@ -803,7 +803,9 @@ the form of functions.")
"0fcgggry5x5bn0zhb09ij9hb0p45nb0sv0d9fw3cm1cf62hp9n80"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f)) ; no tests
`(#:configure-flags '("-DCMAKE_CXX_FLAGS=-shared -fPIC"
"-DCMAKE_C_FLAGS=-shared -fPIC")
#:tests? #f)) ; no tests
(home-page "http://pugixml.org")
(synopsis "Light-weight, simple and fast XML parser for C++ with XPath support")
(description