Commit 47f035c6 authored by Mike Kremer's avatar Mike Kremer

Changed -rpath to -install_name for darwin

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4719 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9bb4ab3d
......@@ -23,8 +23,15 @@ DIRECTORIES = ../ ../Core ../Logging \
QMAKE_LIBDIR += $${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY}
unix {
LIBS+= -Wl,-rpath=$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY} -lPluginLib
}
!contains( OPERATING_SYSTEM, Darwin ) {
LIBS += -Wl,-rpath=$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY} -lPluginLib
}
}
macx {
LIBS += -L$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY} -lPluginLib
QMAKE_LFLAGS_SONAME += -install_name$${LITERAL_WHITESPACE}$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY}/
}
win32 {
LIBS+= -L$${TOPDIR}/OpenFlipper/$${BUILDDIRECTORY} -lPluginLib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment