guix-commits
[Top][All Lists]
Advanced

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

11/13: gnu: xorg-server-xwayland: Fix cross-compiling.


From: guix-commits
Subject: 11/13: gnu: xorg-server-xwayland: Fix cross-compiling.
Date: Mon, 16 Oct 2023 05:39:59 -0400 (EDT)

efraim pushed a commit to branch core-updates
in repository guix.

commit 4b323743beac6c0f17835287988f290f1b1e232c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:11:39 2023 +0300

    gnu: xorg-server-xwayland: Fix cross-compiling.
    
    * gnu/packages/xorg.scm (xorg-server-xwayland)[native-inputs]: When
    cross-compiling add pkg-config-for-build, wayland, wayland-protocols.
---
 gnu/packages/xorg.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 3e8e60e83f..43f7fbe8fa 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5289,7 +5289,12 @@ EGLStream families of extensions.")
                   xkeyboard-config
                   xorgproto
                   xtrans))
-    (native-inputs (list pkg-config))
+    (native-inputs (cons pkg-config
+                         (if (%current-target-system)
+                           (list pkg-config-for-build
+                                 wayland
+                                 wayland-protocols)
+                           '())))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags



reply via email to

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