diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-17 23:20:16 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-17 23:20:16 -0800 |
commit | 46ce3043a1240b976305c49211c495946844c454 (patch) | |
tree | 0e9fedcfee99aaaa81cf26925d3fe1a2a4417bab /subsurface-configure.pri | |
parent | 86274b603e6e18e8bfa5921a062ad6365d18af97 (diff) | |
download | subsurface-46ce3043a1240b976305c49211c495946844c454.tar.gz |
Fix rpath syntax
It appears that gcc toolchains want rpath passed as -Wl,-rpath
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r-- | subsurface-configure.pri | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri index 3cba31279..cca0a8816 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -138,7 +138,7 @@ isEmpty(LIBGIT2DEVEL) { } else { INCLUDEPATH += $$LIBGIT2DEVEL/include isEmpty(LIBGIT2STATIC) { - setRpath: LIBS += -rpath $$LIBGIT2DEVEL/build + setRpath: LIBS += -Wl,-rpath $$LIBGIT2DEVEL/build LIBS += -L$$LIBGIT2DEVEL/build -lgit2 -lz -lcrypto } else { LIBS += $$LIBGIT2DEVEL/build/libgit2.a -Wl,-Bstatic -lz -lssl -lcrypto -Wl,-Bdynamic -ldl @@ -157,7 +157,7 @@ contains(QMAKE_PLATFORM, android): DEFINES += NO_MARBLE NO_USERMANUAL NO_PRINTIN !isEmpty(LIBMARBLEDEVEL) { # find it next to our sources INCLUDEPATH += $$LIBMARBLEDEVEL/include - setRpath: LIBS += -rpath $$LIBMARBLEDEVEL/lib + setRpath: LIBS += -Wl,-rpath $$LIBMARBLEDEVEL/lib LIBS += -L$$LIBMARBLEDEVEL/lib } !contains(DEFINES, NO_MARBLE) { |