windows hosts of course also need exclusion from mkspecs_pre

Change-Id: I90de625b1b521977a4dc1cd499eb6ece02d837f9
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
Oswald Buddenhagen 2012-07-05 15:00:02 +02:00 committed by Qt by Nokia
parent 56e751a0c9
commit 13c99ee2f5

View File

@ -95,8 +95,8 @@ mkspecs.files -= $$PWD/mkspecs/modules
# When shadow building, the default mkspecs only exist in the build tree.
mkspecs.files += $$OUT_PWD/mkspecs/default-host $$OUT_PWD/mkspecs/default
}
!equals(QMAKE_HOST.os, Linux) {
# MacOS' (and maybe others') cp command is too daft to honor -f when copying symlinks.
!equals(QMAKE_HOST.os, Linux):!equals(QMAKE_HOST.os, Windows) {
# MacOS' (and maybe other Unixes') cp command is too daft to honor -f when copying symlinks.
mkspecs_pre.commands = rm -f $$[QT_HOST_DATA]/mkspecs/default-host $$[QT_HOST_DATA]/mkspecs/default
QMAKE_EXTRA_TARGETS += mkspecs_pre
mkspecs.depends += mkspecs_pre