guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/12: gnu: libxkbcommon: Fix cross-compiling.


From: guix-commits
Subject: 09/12: gnu: libxkbcommon: Fix cross-compiling.
Date: Sun, 15 Oct 2023 06:15:56 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit bc1634a197dc9ab7aa0dead8c7449bb5db09cea6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:10:10 2023 +0300

    gnu: libxkbcommon: Fix cross-compiling.
    
    * gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When
    cross-compiling add pkg-config-for-build.
---
 gnu/packages/xdisorg.scm | 10 +++++++---
 1 file 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="



reply via email to

[Prev in Thread] Current Thread [Next in Thread]