aboutsummaryrefslogtreecommitdiff
path: root/package/wayland/wayland.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/wayland/wayland.mk')
-rw-r--r--package/wayland/wayland.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/wayland/wayland.mk b/package/wayland/wayland.mk
index 0810536b7a..013d401568 100644
--- a/package/wayland/wayland.mk
+++ b/package/wayland/wayland.mk
@@ -22,7 +22,9 @@ WAYLAND_CONF_OPT = --disable-scanner
define WAYLAND_BUILD_SCANNER
(cd $(@D)/src/; \
$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
- -o wayland-scanner scanner.c wayland-util.c -lexpat)
+ -o wayland-scanner scanner.c wayland-util.c -lexpat; \
+ $(INSTALL) -m 0755 -D wayland-scanner \
+ $(HOST_DIR)/usr/bin/wayland-scanner)
endef
WAYLAND_POST_CONFIGURE_HOOKS += WAYLAND_BUILD_SCANNER