summaryrefslogtreecommitdiff
path: root/Tools/qmake/mkspecs/features/default_pre.prf
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/qmake/mkspecs/features/default_pre.prf')
-rw-r--r--Tools/qmake/mkspecs/features/default_pre.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/qmake/mkspecs/features/default_pre.prf b/Tools/qmake/mkspecs/features/default_pre.prf
index 69f039387..06f10dec5 100644
--- a/Tools/qmake/mkspecs/features/default_pre.prf
+++ b/Tools/qmake/mkspecs/features/default_pre.prf
@@ -106,7 +106,7 @@ if(win32|mac):!macx-xcode {
# A newer version of flex is required on Windows. At the moment the only
# one that appears to provide binaries and is not cygwin is winflex.
FLEX = flex
-win32: FLEX = win_flex
+equals(QMAKE_HOST.os, Windows): FLEX = win_flex
BIN_EXTENSION =
win32: BIN_EXTENSION = .exe