efraim pushed a commit to branch core-updates
in repository guix.

commit 07b8ea841e1e2eda5b367f35cf68d23d0520cc4d
Author: Efraim Flashner <[email protected]>
Date:   Tue Jan 23 12:47:56 2018 +0200

    gnu: virtualgl: Fix install libdir.
    
    * gnu/packages/gl.scm (virtualgl)[arguments]: Force the install libdir
    to be in the store and not in the build directory.
---
 gnu/packages/gl.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index fe7d225..125448f 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 ng0 <[email protected]>
 ;;; Copyright © 2016, 2017 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2016 David Thompson <[email protected]>
-;;; Copyright © 2017 Efraim Flashner <[email protected]>
+;;; Copyright © 2017, 2018 Efraim Flashner <[email protected]>
 ;;; Copyright © 2017 Arun Isaac <[email protected]>
 ;;; Copyright © 2017 Rutger Helling <[email protected]>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
@@ -747,7 +747,10 @@ mixed vector/bitmap output.")
          "0rnid3hwrry9d5d4m7sygq00xxx976rgk00a3557m9r5kxbmy476"))))
     (arguments
      `(#:tests? #f ;; no tests are available
-       #:configure-flags (list "-DVGL_USESSL=1"))) ;; use OpenSSL
+       #:configure-flags (list
+                           (string-append "-DCMAKE_INSTALL_LIBDIR="
+                                          (assoc-ref %outputs "out") "/lib")
+                           "-DVGL_USESSL=1"))) ;; use OpenSSL
     (build-system cmake-build-system)
     (inputs `(("glu" ,glu)
               ("libjpeg-turbo" ,libjpeg-turbo)

Reply via email to