guix-commits
[Top][All Lists]
Advanced

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

10/13: gnu: egl-wayland: Fix cross-compiling.


From: guix-commits
Subject: 10/13: gnu: egl-wayland: Fix cross-compiling.
Date: Mon, 16 Oct 2023 05:39:58 -0400 (EDT)

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

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

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

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 4b3c96794d..3e8e60e83f 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5243,8 +5243,11 @@ application-facing EGL functions.")
         (base32 "11a3j2rjai2vsway9ki5y3ncvhrwd300pz2zcq36mq3brbr1vgf5"))))
     (build-system meson-build-system)
     (native-inputs
-     (list libglvnd ;needed for headers
-           mesa-headers pkg-config))
+     (cons* libglvnd ;needed for headers
+            mesa-headers pkg-config
+            (if (%current-target-system)
+              (list pkg-config-for-build wayland wayland-protocols)
+              '())))
     (inputs
      (list mesa wayland wayland-protocols))
     (propagated-inputs



reply via email to

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