gnu: rdma-core: Fix cross-compiling.

* gnu/packages/linux.scm (rdma-core)[arguments]: Add configure-flag when
cross-compiling to find pkg-config.
This commit is contained in:
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

View file

@ -6219,6 +6219,14 @@ (define-public rdma-core
;; 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")