guix-commits
[Top][All Lists]
Advanced

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

46/52: gnu: wayland: Find wayland-scanner when cross-compiling.


From: guix-commits
Subject: 46/52: gnu: wayland: Find wayland-scanner when cross-compiling.
Date: Mon, 20 Sep 2021 07:19:40 -0400 (EDT)

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

commit d979c916e84fcf6f75d5645e318aa1cd7024be5e
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Aug 25 15:27:18 2021 +0200

    gnu: wayland: Find wayland-scanner when cross-compiling.
    
    * gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add
      pkg-config-for-build and 'this-package' when cross-compiling.
---
 gnu/packages/freedesktop.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 9df7fef..ba0281b 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1010,7 +1010,11 @@ Python.")
        ("doxygen" ,doxygen)
        ("pkg-config" ,pkg-config)
        ("xmlto" ,xmlto)
-       ("xsltproc" ,libxslt)))
+       ("xsltproc" ,libxslt)
+       ,@(if (%current-target-system)
+             `(("pkg-config-for-build" ,pkg-config-for-build)
+               ("wayland" ,this-package)) ; for wayland-scanner
+             '())))
     (inputs
      `(("expat" ,expat)
        ("libxml2" ,libxml2)))           ; for XML_CATALOG_FILES



reply via email to

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