diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:10:10 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:10:10 +0300 |
commit | bc1634a197dc9ab7aa0dead8c7449bb5db09cea6 (patch) | |
tree | 883517c8d47a91706bf6c4ace4dd0a4e79df475c /gnu | |
parent | 8f84587be7aa18c8dd8015f8afd94fd1ac29dbf5 (diff) |
gnu: libxkbcommon: Fix cross-compiling.
* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When
cross-compiling add pkg-config-for-build.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/xdisorg.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index db948a9318..a56399341a 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -527,9 +527,13 @@ avoiding password prompts when X11 forwarding has already been setup.") wayland-protocols xkeyboard-config)) (native-inputs - (list bison doxygen pkg-config python - ;; wayland-scanner is required at build time. - wayland)) + (append + (list bison doxygen pkg-config python + ;; wayland-scanner is required at build time. + wayland) + (if (%current-target-system) + (list pkg-config-for-build) + '()))) (arguments (list #:configure-flags #~(list (string-append "-Dxkb-config-root=" |