diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-03-28 18:54:20 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-03-28 21:34:04 +0300 |
commit | abd8286480ea94a07440bf49a7abe8fb03cd1737 (patch) | |
tree | cb3ed88a2ef7ddf13b0cf35a117321dde7277ffc | |
parent | e91a5258584026935daacd4543d5b3aa76e6c8f6 (diff) |
gnu: rdma-core: Fix cross-compiling.
* gnu/packages/linux.scm (rdma-core)[arguments]: Add configure-flag when
cross-compiling to find pkg-config.
-rw-r--r-- | gnu/packages/linux.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 72eb106ec2..6779552725 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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") |