[PATCH 1/5] build: add EXEEXT missing on wayland-scanner
mchalain [marc.chalain@gmail.com]
marc.chalain at gmail.com
Thu Sep 5 03:15:22 PDT 2013
From: mchalain <marc.chalain at gmail.com>
Autotool manages different platforms and use $(EXEEXT) to suffix an application.
---
src/Makefile.am | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 4226f63..85006a3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -41,22 +41,22 @@ AM_CFLAGS = $(GCC_CFLAGS)
protocoldir = $(top_srcdir)/protocol
if ENABLE_SCANNER
-wayland_scanner = $(top_builddir)/src/wayland-scanner
+wayland_scanner = $(top_builddir)/src/wayland-scanner$(EXEEXT)
else
-wayland_scanner = wayland-scanner
+wayland_scanner = wayland-scanner$(EXEEXT)
endif
include $(top_srcdir)/src/scanner.mk
if ENABLE_SCANNER
-bin_PROGRAMS = wayland-scanner
+bin_PROGRAMS = wayland-scanner$(EXEEXT)
wayland_scanner_SOURCES = \
scanner.c
wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
-$(BUILT_SOURCES) : wayland-scanner
+$(BUILT_SOURCES) : wayland-scanner$(EXEEXT)
scannerpkgconfigdir = $(datadir)/pkgconfig
scannerpkgconfig_DATA = wayland-scanner.pc
--
1.7.9.5
More information about the wayland-devel
mailing list