Merge "Fix windows/mingw build."
diff --git a/core/config.mk b/core/config.mk
index 86bc0c1..322f258 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -351,7 +351,7 @@
# ---------------------------------------------------------------
# Generic tools.
-LEX := prebuilts/misc/$(BUILD_OS)-$(BUILD_ARCH)/flex/flex-2.5.39$(HOST_EXECUTABLE_SUFFIX)
+LEX := prebuilts/misc/$(BUILD_OS)-$(BUILD_ARCH)/flex/flex-2.5.39
# The default PKGDATADIR built in the prebuilt bison is a relative path
# external/bison/data.
# To run bison from elsewhere you need to set up enviromental variable