summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-06-27 13:43:45 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-06-28 10:41:44 +0000
commita8c98dcb89f2b3f8438555d8febe17d3542d0567 (patch)
tree749ca8230175eab2870b970325373f919a52fd82 /mkspecs
parentb6cf0418677729e91e5ccd866afdb22e11385d74 (diff)
fix default inc/lib path detection on msys
using the Makefile target separator to determine the host system is of course not a terribly good idea. the correct variable to query would be DIR_SEPARATOR, which always reflects the host. however, a direct os query is less obscure in this case. Task-number: QTBUG-54346 Change-Id: I6bc1372a7c9a84a241a97f9f767f046b026411c3 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/default_pre.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf
index d760586f74..62cd90912e 100644
--- a/mkspecs/features/default_pre.prf
+++ b/mkspecs/features/default_pre.prf
@@ -30,7 +30,7 @@ isEmpty(QMAKE_DEFAULT_INCDIRS):!host_build {
# Get default include and library paths from compiler
#
gcc {
- equals(QMAKE_DIR_SEP, /) {
+ !equals(QMAKE_HOST.os, Windows) {
cmd_prefix = "LC_ALL=C"
cmd_suffix = "</dev/null >/dev/null"
} else {