summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-01-23 12:47:56 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-01-23 12:49:26 +0200
commit07b8ea841e1e2eda5b367f35cf68d23d0520cc4d (patch)
treef3e19ccbbe7bdc131f666c47378f8375c3e9f7ab
parentf3cd6633ce7348fb92735d6cd708bdc8b3b063ee (diff)
downloadguix-07b8ea841e1e2eda5b367f35cf68d23d0520cc4d.tar.gz
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.
-rw-r--r--gnu/packages/gl.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index fe7d2252ea..125448f9e1 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
-;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -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)