Files
qt-creator/tests/manual/debugger/spacy-file/plugin/plugin.pro

19 lines
461 B
Prolog
Raw Normal View History

2008-12-02 12:01:29 +01:00
TEMPLATE = lib
TARGET = plugin
DESTDIR = ..
CONFIG += shared
SOURCES += "../plugin with space.cpp"
macx {
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/
2008-12-02 12:01:29 +01:00
} else:linux-* {
#do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
QMAKE_RPATHDIR += \$\$ORIGIN/..
IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")
QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'
QMAKE_RPATHDIR =
}