Merge branch 'corvuscorax/OP-1456_struct_to_array_improvement' into next
[librepilot.git] / ground / openpilotgcs / src / rpath.pri
blob6d000262fa73d757d7441b2453ede7e95e9ff7f4
1 macx {
2     QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Plugins/
3 } else:linux-* {
4     #do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
5     # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var
6     QMAKE_RPATHDIR = \$\$ORIGIN/../$$GCS_LIBRARY_BASENAME/openpilotgcs
7     QMAKE_RPATHDIR += \$\$ORIGIN/../$$GCS_LIBRARY_BASENAME/qt5
8     GCS_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":")
9  
10     QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${GCS_PLUGIN_RPATH}\'
11     QMAKE_RPATHDIR =