gnu: gnupg: Fix cross-compilation.
* gnu/packages/gnupg.scm (gnupg)[arguments]: Pass libraries prefixes when cross-crompiling. Change-Id: I461ba02ddf5bb23277bd6685c2106e4ad37e2184 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
e94e8eaedd
commit
b64862e5cb
|
@ -346,11 +346,33 @@ compatible to GNU Pth.")
|
||||||
zlib))
|
zlib))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:configure-flags #~'(;; Otherwise, the test suite looks for the `gpg`
|
#:configure-flags
|
||||||
;; executable in its installation directory in
|
;; Always use quasiquote on the next core-updates cycle.
|
||||||
;; /gnu/store before it has been installed.
|
#~(#$(if (%current-target-system)
|
||||||
"--enable-gnupg-builddir-envvar"
|
#~quasiquote
|
||||||
"--enable-all-tests")
|
#~quote)
|
||||||
|
(#$@(if (%current-target-system)
|
||||||
|
#~(,(string-append
|
||||||
|
"--with-libgpg-error-prefix="
|
||||||
|
#$(this-package-input "libgpg-error"))
|
||||||
|
,(string-append
|
||||||
|
"--with-libgcrypt-prefix="
|
||||||
|
#$(this-package-input "libgcrypt"))
|
||||||
|
,(string-append
|
||||||
|
"--with-libassuan-prefix="
|
||||||
|
#$(this-package-input "libassuan"))
|
||||||
|
,(string-append
|
||||||
|
"--with-ksba-prefix="
|
||||||
|
#$(this-package-input "libksba"))
|
||||||
|
,(string-append
|
||||||
|
"--with-npth-prefix="
|
||||||
|
#$(this-package-input "npth")))
|
||||||
|
#~())
|
||||||
|
;; Otherwise, the test suite looks for the `gpg`
|
||||||
|
;; executable in its installation directory in
|
||||||
|
;; /gnu/store before it has been installed.
|
||||||
|
"--enable-gnupg-builddir-envvar"
|
||||||
|
"--enable-all-tests"))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'configure 'patch-paths
|
(add-before 'configure 'patch-paths
|
||||||
|
|
Reference in New Issue