summaryrefslogtreecommitdiff
path: root/tests/auto/qttestrpath.pri
blob: bd65a2f3ef6578837ef24adcf55ad458cd98f192 (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

    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/../\"
}