diff options
-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") |