mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Add missing RUNPATH so that qupzilla finds its shared lib
when installed into a custom prefix, on Linux.
This commit is contained in:
parent
2382f2c955
commit
3c60b8417a
@ -40,4 +40,10 @@ openbsd-*|freebsd-*|haiku-* {
|
||||
|
||||
include(../install.pri)
|
||||
|
||||
unix:contains(DEFINES, "NO_SYSTEM_DATAPATH"): QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}\\$\$ORIGIN
|
||||
unix:contains(DEFINES, "NO_SYSTEM_DATAPATH") {
|
||||
# For running the app without installing it
|
||||
QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}\\$\$ORIGIN
|
||||
# For running the app after installation
|
||||
QMAKE_LFLAGS+=$${QMAKE_LFLAGS_RPATH}$${library_folder}
|
||||
message(QMAKE_LFLAGS: $$QMAKE_LFLAGS)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user