gnu: libfido2: Fix cross-compilation.
* gnu/packages/security-token.scm (libfido2)[arguments]: Set the PKG_CONFIG_EXECUTABLE variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
89f3275ff5
commit
fc94e93c4b
|
@ -38,6 +38,7 @@
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system cargo)
|
#:use-module (guix build-system cargo)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
|
@ -906,7 +907,13 @@ phone is required.")
|
||||||
(inputs (list eudev libcbor openssl zlib))
|
(inputs (list eudev libcbor openssl zlib))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:configure-flags
|
||||||
|
(list (string-append
|
||||||
|
"-DPKG_CONFIG_EXECUTABLE="
|
||||||
|
(search-input-file %build-inputs
|
||||||
|
(string-append
|
||||||
|
"/bin/" ,(pkg-config-for-target)))))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; regress tests enabled only for debug builds
|
;; regress tests enabled only for debug builds
|
||||||
(delete 'check))))
|
(delete 'check))))
|
||||||
|
|
Reference in New Issue