Browse Source

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.
wip-grafts
Ludovic Courtès 10 years ago
parent
commit
08005c6579
  1. 5
      guix/build/gnu-build-system.scm

5
guix/build/gnu-build-system.scm

@ -64,10 +64,11 @@
"--enable-fast-install"
(string-append "--prefix=" prefix)
`(,@(if libdir
(list (string-append "--libdir=" libdir))
(list (string-append "--libdir=" libdir "/lib"))
'())
,@(if includedir
(list (string-append "--includedir=" includedir))
(list (string-append "--includedir="
includedir "/include"))
'())
,@configure-flags)))))

Loading…
Cancel
Save