guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27921] [PATCH] gnu: openscenegraph: Add 'Release' configure flag.


From: manolis837
Subject: [bug#27921] [PATCH] gnu: openscenegraph: Add 'Release' configure flag.
Date: Wed, 2 Aug 2017 21:00:17 +0300

From: Manolis Ragkousis <address@hidden>

* 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 6c813e8a3..d0e50106f 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
-- 
2.13.3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]