mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
guix: cmake-build-system: Install libraries to /lib.
* guix/build/cmake-build-system.scm (configure): Add flag to always install libraries in /lib.
This commit is contained in:
parent
02f21a874e
commit
5857a0658a
1 changed files with 3 additions and 0 deletions
|
@ -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 @@ (define* (configure #:key outputs (configure-flags '()) (out-of-source? #t)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue