aboutsummarylogtreecommitdiffstats
path: root/0019-Disable-determing-default-include-and-lib-dirs-at-qm.patch
blob: e4cdc0c9187245c4c5bf5ec49381d3a5a2a6da82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 6b99dac278b4c41000fd6f92c8d400a82cbe484a Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:20:25 +0200
Subject: [PATCH 19/26] Disable determing default include and lib dirs at qmake
 time when building with mingw-w64

---
 mkspecs/features/toolchain.prf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf
index 7691b7db34..d262097f09 100644
--- a/mkspecs/features/toolchain.prf
+++ b/mkspecs/features/toolchain.prf
@@ -3,7 +3,7 @@ isEmpty(QMAKE_DEFAULT_INCDIRS):!host_build {
     #
     # Get default include and library paths from compiler
     #
-    gcc {
+    !win32:gcc {
         !equals(QMAKE_HOST.os, Windows) {
             cmd_prefix = "LC_ALL=C"
             cmd_suffix = "</dev/null >/dev/null"
-- 
2.11.0