summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-02-08 20:39:23 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-13 12:42:40 +0100
commitd061cfde880339c973fb26c3e6ce18ee74049606 (patch)
treeb89eb17ebb6ee7f3265bc872d72ff7ad9d7a8501
parent8204e3f04534328e554c092758717aa4e0cc073e (diff)
fix platform conditional for using our gnuwin tools
it's pointless to test the target platform - it's always windows. but it may make sense to test the host platform (not sure whether it's possible to x-build angle). Change-Id: I57847c930d6108a24a1005aa44f94ba0b4f9dfec Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--src/angle/src/config.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/angle/src/config.pri b/src/angle/src/config.pri
index f8b877d056..73fbc2e13b 100644
--- a/src/angle/src/config.pri
+++ b/src/angle/src/config.pri
@@ -12,7 +12,7 @@ isEmpty(ANGLE_DIR) {
error("$$ANGLE_DIR does not contain ANGLE")
}
-win32 {
+equals(QMAKE_HOST.os, Windows) {
gnutools.value = $$absolute_path(../../../../gnuwin32/bin)
exists($$gnutools.value/gperf.exe) {
gnutools.name = PATH