diff options
author | Sébastien Lerique <sl@eauchat.org> | 2022-03-27 22:00:04 +0900 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-03-31 18:57:05 +0300 |
commit | fc94e93c4b60addfda3c1eddfb85907e9459a8af (patch) | |
tree | df6d5c0cc5477dc86334967ede6e212bd342d607 /gnu | |
parent | 89f3275ff5ecd3b3e95c9b66821a8541e0da2269 (diff) | |
download | guix-fc94e93c4b60addfda3c1eddfb85907e9459a8af.tar.gz |
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>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/security-token.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index baa5255245..2cc1fa38c0 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -38,6 +38,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) + #:use-module (guix utils) #:use-module (guix git-download) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) @@ -906,7 +907,13 @@ phone is required.") (inputs (list eudev libcbor openssl zlib)) (build-system cmake-build-system) (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 ;; regress tests enabled only for debug builds (delete 'check)))) |