mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 18:49:14 -05:00
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:
parent
e91a525858
commit
abd8286480
1 changed files with 8 additions and 0 deletions
|
@ -6219,6 +6219,14 @@ (define-public rdma-core
|
||||||
;; to do the same for consistency.
|
;; to do the same for consistency.
|
||||||
#:configure-flags (list "-GNinja"
|
#: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="
|
(string-append "-DRST2MAN_EXECUTABLE="
|
||||||
(assoc-ref %build-inputs
|
(assoc-ref %build-inputs
|
||||||
"python-docutils")
|
"python-docutils")
|
||||||
|
|
Loading…
Reference in a new issue