aboutsummaryrefslogtreecommitdiffstats
path: root/src/rpath.pri
blob: bcf009be468de6999a8178b52cdaf63464faa6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
macx {
    # this is needed for the binary itself?
    QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/
} else:linux-* {
    #do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
    QMAKE_RPATHDIR += \$\$ORIGIN/../lib/qtcreator
    IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")
 
    QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\'
    QMAKE_RPATHDIR =
}