diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-12-19 13:16:29 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-12-19 19:52:00 +0200 |
commit | 5857a0658a63cad0b32bc8a5a6770e2a57c0b500 (patch) | |
tree | d50011d70c95218e81f43e50a7f7b43071bba6fb | |
parent | 02f21a874ea11b2eab50d64147908eacf16f2968 (diff) | |
download | guix-5857a0658a63cad0b32bc8a5a6770e2a57c0b500.tar.gz |
guix: cmake-build-system: Install libraries to /lib.
* guix/build/cmake-build-system.scm (configure): Add flag to always install libraries in /lib.
-rw-r--r-- | guix/build/cmake-build-system.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build/cmake-build-system.scm b/guix/build/cmake-build-system.scm index 128ab28fe5..c82d9fef87 100644 --- a/guix/build/cmake-build-system.scm +++ b/guix/build/cmake-build-system.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com> ;;; Copyright © 2014, 2015 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,8 @@ build-type)) '()) ,(string-append "-DCMAKE_INSTALL_PREFIX=" out) + ;; ensure that the libraries are installed into /lib + "-DCMAKE_INSTALL_LIBDIR=lib" ;; add input libraries to rpath "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" ;; add (other) libraries of the project itself to rpath |