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