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: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Oswald Buddenhagen
2014-04-11 17:06:01 +02:00
committed by Eike Ziller
parent d9548d6422
commit 1fb187f513
2 changed files with 4 additions and 3 deletions

View File

@@ -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) {