Fix rpath instead runpath

This commit is contained in:
Oleg Korshul
2020-07-06 16:14:41 +03:00
parent a52bcb3205
commit 0e7a8c1af9
2 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@ BUILD_NUMBER = $$(BUILD_NUMBER)
!isEmpty(PRODUCT_VERSION){
!isEmpty(BUILD_NUMBER){
VERSION = $${PRODUCT_VERSION}.$${BUILD_NUMBER}
}
}
}
DEFINES += INTVER=$$VERSION
@ -160,7 +160,9 @@ core_windows {
core_linux {
equals(TEMPLATE, app) {
QMAKE_LFLAGS += -Wl,--rpath=./:./system
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/system\'"
QMAKE_LFLAGS += -Wl,--disable-new-dtags
}
}

View File

@ -15,8 +15,8 @@ include(../Common/base.pri)
DEFINES += UNICODECONVERTER_USE_DYNAMIC_LIBRARY
core_linux {
QMAKE_LFLAGS += -Wl,--rpath=./
core_linux {
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"
}
core_ios {