summaryrefslogtreecommitdiffstats
path: root/recipes/wayland/wayland/0001-Use-native-wayland-scanner-when-building-nativesdk-w.patch
blob: 9e5fe4d59d7b210abc0db5111abc638d9d7c50da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
The wayland-scanner built for the nativesdk cannot be run during the build,
so instead use the wayland-scanner from native build.

Upstream-Status: Pending

Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
---
 Makefile.am | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index c15d8b8..45f7133 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,7 +62,7 @@ nodist_libwayland_client_la_SOURCES =         \
 pkgconfig_DATA += src/wayland-client.pc src/wayland-server.pc
 
 if ENABLE_SCANNER
-wayland_scanner = $(top_builddir)/wayland-scanner
+wayland_scanner = wayland-scanner
 bin_PROGRAMS = wayland-scanner
 wayland_scanner_SOURCES = src/scanner.c
 wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
-- 
1.9.1