mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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>
This commit is contained in:
parent
89f3275ff5
commit
fc94e93c4b
1 changed files with 8 additions and 1 deletions
|
@ -38,6 +38,7 @@ (define-module (gnu packages security-token)
|
||||||
#: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 @@ (define-public libfido2
|
||||||
(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))))
|
||||||
|
|
Loading…
Reference in a new issue