[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: pugixml: Build relocatable library.
From: |
Kei Kebreau |
Subject: |
01/01: gnu: pugixml: Build relocatable library. |
Date: |
Sat, 4 Mar 2017 17:25:00 -0500 (EST) |
kkebreau pushed a commit to branch master
in repository guix.
commit 52c14bb6ec6fbd532b1e03a512d133e2499186b9
Author: Roel Janssen <address@hidden>
Date: Thu Mar 2 01:00:35 2017 +0100
gnu: pugixml: Build relocatable library.
* gnu/packages/xml.scm (pugixml): Add "-shared -fPIC" to ensure the
library is relocatable.
Signed-off-by: Kei Kebreau <address@hidden>
---
gnu/packages/xml.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 9a22535..6ec2b1f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -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