1
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:
David Faure 2017-07-26 19:08:07 +02:00 committed by David Rosca
parent 2382f2c955
commit 3c60b8417a

View File

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