aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/security-token.scm
diff options
context:
space:
mode:
authorSébastien Lerique <sl@eauchat.org>2022-03-27 22:00:04 +0900
committerEfraim Flashner <efraim@flashner.co.il>2022-03-31 18:57:05 +0300
commitfc94e93c4b60addfda3c1eddfb85907e9459a8af (patch)
treedf6d5c0cc5477dc86334967ede6e212bd342d607 /gnu/packages/security-token.scm
parent89f3275ff5ecd3b3e95c9b66821a8541e0da2269 (diff)
downloadguix-fc94e93c4b60addfda3c1eddfb85907e9459a8af.tar
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/packages/security-token.scm')
-rw-r--r--gnu/packages/security-token.scm9
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))))