Commit 1fb187f5 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Eike Ziller

fix use of $$split()

it takes a variable, not a value.

the spec_pre.prf part is cherry-picked from qtbase/89a558d6b0fac.

Change-Id: Ie7e551cf0b889d7682f032124dd0466ada6972e4
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent d9548d64
......@@ -23,9 +23,9 @@ defineReplace(findLLVMConfig) {
# Find llvm-config* in PATH
ENV_PATH = $$(PATH)
win32 {
ENV_PATH = $$split($$ENV_PATH, ;)
ENV_PATH = $$split(ENV_PATH, ;)
} else {
ENV_PATH = $$split($$ENV_PATH, :)
ENV_PATH = $$split(ENV_PATH, :)
}
for (variant, LLVM_CONFIG_VARIANTS) {
for (path, ENV_PATH) {
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment