Merge PR #551: Fix build failure in rpath setting with certain toolchains

This commit is contained in:
jenkins 2022-08-26 12:57:59 +02:00
commit 73b03b2430

View File

@ -20,7 +20,8 @@ LIBS += -L$$top_builddir/libnymea/ -lnymea \
# Add rpath for easy running from the build dir, unless explicitly disabled
!norpath: {
message("Adding rpath to nymead binary")
LIBS += -Wl,-rpath ../libnymea/:../libnymea-core/
LIBS += -Wl,-rpath ../libnymea/
LIBS += -Wl,-rpath ../libnymea-core/
}
CONFIG += link_pkgconfig