mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu-build-system: Fix "libdir" and "includedir" for multiple-output drvs.
* guix/build/gnu-build-system.scm (configure): Change `--libdir' and `--includedir' to LIBDIR + "/lib" and INCLUDEDIR + "/include", respectively.
This commit is contained in:
parent
e36a717216
commit
08005c6579
1 changed files with 3 additions and 2 deletions
|
@ -64,10 +64,11 @@ (define* (configure #:key outputs (configure-flags '()) #:allow-other-keys)
|
||||||
"--enable-fast-install"
|
"--enable-fast-install"
|
||||||
(string-append "--prefix=" prefix)
|
(string-append "--prefix=" prefix)
|
||||||
`(,@(if libdir
|
`(,@(if libdir
|
||||||
(list (string-append "--libdir=" libdir))
|
(list (string-append "--libdir=" libdir "/lib"))
|
||||||
'())
|
'())
|
||||||
,@(if includedir
|
,@(if includedir
|
||||||
(list (string-append "--includedir=" includedir))
|
(list (string-append "--includedir="
|
||||||
|
includedir "/include"))
|
||||||
'())
|
'())
|
||||||
,@configure-flags)))))
|
,@configure-flags)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue