summaryrefslogtreecommitdiff
path: root/tests/auto/qttestrpath.pri
blob: b29ed86e4a3027be2c745dda3307f2fd4b871de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
linux-* {
    QMAKE_RPATHDIR += $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator
    QMAKE_RPATHDIR += $$IDE_PLUGIN_PATH/QtProject

    IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")

    QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'
} else:macx {
    QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_BIN_PATH/../\"
}