Skip to content

Commit

Permalink
Added QMAKE_LFLAGS rpath #13
Browse files Browse the repository at this point in the history
  • Loading branch information
mxklb committed Oct 28, 2018
1 parent 0fa226b commit 5ba8cb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/loadlibs.pri
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ for(lib, customLibs) {
gcc {
LIBS += -L$${OUTDIR}/$${WINDIR}/ -l$${LIBNAME}
PRE_TARGETDEPS += $${OUTDIR}/$${WINDIR}/lib$${LIBNAME}.$${LIB_EXTENSION}
QMAKE_LFLAGS += "-Wl,-rpath,\'$$OUTDIR/$$WINDIR\'"
}
}
unix:!macx {
Expand Down

0 comments on commit 5ba8cb1

Please sign in to comment.