diff Makefile @ 3029:2849bea3711f

disable building flex for native mingw
author John W. Eaton <jwe@octave.org>
date Sat, 08 Jun 2013 19:00:32 -0400
parents 051574ceb3fc
children 951da75fd09c
line wrap: on
line diff
--- a/Makefile	Sat Jun 08 18:52:03 2013 -0400
+++ b/Makefile	Sat Jun 08 19:00:32 2013 -0400
@@ -103,6 +103,10 @@
 LIBTOOL     := libtool
 LIBTOOLIZE  := libtoolize
 BUILD_TOOLS := $(patsubst src/%.mk, %, $(wildcard src/build-*.mk))
+# Building flex for native mingw fails, so disable it.
+ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
+  BUILD_TOOLS := $(filter-out build-flex, $(BUILD_TOOLS))
+endif
 
 STAMP_DIR  := $(PWD)/installed-packages
 MSYS_INFO_DIR := $(PWD)/msys-info