me
/
guix
Archived
1
0
Fork 0

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
Sébastien Lerique 2022-03-27 22:00:04 +09:00 committed by Efraim Flashner
parent 89f3275ff5
commit fc94e93c4b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 1 deletions

View File

@ -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))))