From 291ae79c281c3c693ae3b488bab2b8a9e9e8405e Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 2 Aug 2022 00:48:34 +0200 Subject: [PATCH] Fix build failure in rpath setting with certain toolchains --- server/server.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/server.pro b/server/server.pro index 18d80b7c..e568e856 100644 --- a/server/server.pro +++ b/server/server.pro @@ -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