[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: guix: cmake-build-system: Install libraries to /lib.
From: |
Efraim Flashner |
Subject: |
01/02: guix: cmake-build-system: Install libraries to /lib. |
Date: |
Tue, 19 Dec 2017 12:52:12 -0500 (EST) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 5857a0658a63cad0b32bc8a5a6770e2a57c0b500
Author: Efraim Flashner <address@hidden>
Date: Tue Dec 19 13:16:29 2017 +0200
guix: cmake-build-system: Install libraries to /lib.
* guix/build/cmake-build-system.scm (configure): Add flag to always
install libraries in /lib.
---
guix/build/cmake-build-system.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/guix/build/cmake-build-system.scm
b/guix/build/cmake-build-system.scm
index 128ab28..c82d9fe 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 <address@hidden>
;;; Copyright © 2013 Cyril Roelandt <address@hidden>
;;; Copyright © 2014, 2015 Andreas Enge <address@hidden>
+;;; Copyright © 2017 Efraim Flashner <address@hidden>
;;;
;;; 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