phant0mas pushed a commit to branch master
in repository guix.
commit 5638d7150229bcc63bf26e484f81ff310dafd263
Author: Manolis Ragkousis <[email protected]>
Date: Wed Aug 2 20:32:22 2017 +0300
gnu: openscenegraph: Add 'Release' configure flag.
* gnu/packages/graphics.scm (openscenegraph)[arguments]: Add
"-DCMAKE_BUILD_TYPE=Release".
---
gnu/packages/graphics.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 6c813e8..d0e5010 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -339,7 +339,11 @@ visual effects work for film.")
#:configure-flags
(list (string-append "-DCMAKE_INSTALL_RPATH="
(assoc-ref %outputs "out") "/lib:"
- (assoc-ref %outputs "out") "/lib64"))))
+ (assoc-ref %outputs "out") "/lib64")
+ ;; We need to set this flag or otherwise 'rd' will be added
+ ;; to the name of the library binaries and break linking
+ ;; with other programs.
+ "-DCMAKE_BUILD_TYPE=Release")))
(native-inputs
`(("unzip" ,unzip)))
(inputs