fix tool invocation for -prefix + -framework builds on macx
set DYLD_FRAMEWORK_PATH instead of DYLD_LIBRARY_PATH Change-Id: I9849f12063b8c7a45d040c087f4611c3a48180b8 Reviewed-by: Johanna Äijälä <johanna.aijala@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
d802a00198
commit
f05a392f3e
@ -215,14 +215,18 @@ defineTest(qtAddTargetEnv) {
|
||||
for(rpath, QT.$${dep}.rpath_link): \
|
||||
deppath += $$shell_path($$rpath)
|
||||
}
|
||||
equals(QMAKE_HOST.os, Windows): \
|
||||
equals(QMAKE_HOST.os, Windows) {
|
||||
deppath.name = PATH
|
||||
else:contains(QMAKE_HOST.os, Linux|FreeBSD): \
|
||||
} else:contains(QMAKE_HOST.os, Linux|FreeBSD) {
|
||||
deppath.name = LD_LIBRARY_PATH
|
||||
else:equals(QMAKE_HOST.os, Darwin): \
|
||||
deppath.name = DYLD_LIBRARY_PATH
|
||||
else: \
|
||||
} else:equals(QMAKE_HOST.os, Darwin) {
|
||||
contains(QT_CONFIG, qt_framework): \
|
||||
deppath.name = DYLD_FRAMEWORK_PATH
|
||||
else: \
|
||||
deppath.name = DYLD_LIBRARY_PATH
|
||||
} else {
|
||||
error("Operating system not supported.")
|
||||
}
|
||||
deppath.value = $$unique(deppath)
|
||||
deppath.CONFIG = prepend
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user