CONFIG key to disable setting custom rpath option.
--HG-- branch : develop
This commit is contained in:
parent
006dc35a4a
commit
48d58de871
|
@ -348,11 +348,17 @@ CONFIG(debug, debug|release){
|
|||
# Path to recource file.
|
||||
win32:RC_FILE = share/resources/tape.rc
|
||||
|
||||
noRunPath{ # For enable run qmake with CONFIG+=noRunPath
|
||||
# do nothing
|
||||
} else {
|
||||
unix:!macx{
|
||||
# suppress the default RPATH
|
||||
# helps to run the program without Qt Creator
|
||||
# see problem with path to libqmuparser and libpropertybrowser
|
||||
QMAKE_LFLAGS_RPATH =
|
||||
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}"
|
||||
}
|
||||
}
|
||||
|
||||
# When the GNU linker sees a library, it discards all symbols that it doesn't need.
|
||||
# Dependent library go first.
|
||||
|
|
|
@ -476,11 +476,17 @@ win32 {
|
|||
copyToDestdir($$pdftops_path, $$shell_path($${OUT_PWD}/$$DESTDIR))
|
||||
}
|
||||
|
||||
noRunPath{ # For enable run qmake with CONFIG+=noRunPath
|
||||
# do nothing
|
||||
} else {
|
||||
unix:!macx{
|
||||
# suppress the default RPATH
|
||||
# helps to run the program without Qt Creator
|
||||
# see problem with path to libqmuparser and libpropertybrowser
|
||||
QMAKE_LFLAGS_RPATH =
|
||||
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}"
|
||||
}
|
||||
}
|
||||
|
||||
# When the GNU linker sees a library, it discards all symbols that it doesn't need.
|
||||
# Dependent library go first.
|
||||
|
|
Loading…
Reference in New Issue
Block a user