diff --git a/mkspecs/features/spec_pre.prf b/mkspecs/features/spec_pre.prf index bcd4a08449..34dab535ba 100644 --- a/mkspecs/features/spec_pre.prf +++ b/mkspecs/features/spec_pre.prf @@ -23,7 +23,8 @@ equals(QMAKE_HOST.os, Windows) { QMAKE_EXT_OBJ = .obj QMAKE_EXT_RES = .res QMAKE_SH = - PATH = $$split($$(PATH), ;) + PATH = $$(PATH) + PATH = $$split(PATH, ;) for(dir, PATH) { exists($$dir/sh.exe) { QMAKE_SH = $$dir/sh.exe