Fix windows build if MINGW_PREFIX is defined

This commit is contained in:
Gioacchino Mazzurco 2018-06-11 16:05:25 +02:00
parent 8a901e658c
commit 3c678f2a28
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -400,13 +400,11 @@ win32-g++ {
PREFIX_MSYS2=$${TEMPTATIVE_MSYS2}
}
!isEmpty(PREFIX_MSYS2) {
message(Found MSYS2: $${PREFIX_MSYS2})
!isEmpty(PREFIX_MSYS2):message(Found MSYS2: $${PREFIX_MSYS2})
}
isEmpty(PREFIX) {
PREFIX = $$system_path($${PREFIX_MSYS2})
}
}
isEmpty(PREFIX):!isEmpty(PREFIX_MSYS2) {
PREFIX = $$system_path($${PREFIX_MSYS2})
}
isEmpty(PREFIX) {