me
/
guix
Archived
1
0
Fork 0

gnu: rdma-core: Fix cross-compiling.

* gnu/packages/linux.scm (rdma-core)[arguments]: Add configure-flag when
cross-compiling to find pkg-config.
master
Efraim Flashner 2022-03-28 18:54:20 +03:00
parent e91a525858
commit abd8286480
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 0 deletions

View File

@ -6219,6 +6219,14 @@ from the ntfs-3g package. It is meant to be used in initrds.")
;; to do the same for consistency.
#:configure-flags (list "-GNinja"
,@(if (%current-target-system)
`((string-append
"-DPKG_CONFIG_EXECUTABLE="
(search-input-file
%build-inputs
(string-append "/bin/"
,(pkg-config-for-target)))))
'())
(string-append "-DRST2MAN_EXECUTABLE="
(assoc-ref %build-inputs
"python-docutils")