diff options
Diffstat (limited to 'qtmips_cli')
-rw-r--r-- | qtmips_cli/qtmips_cli.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qtmips_cli/qtmips_cli.pro b/qtmips_cli/qtmips_cli.pro index fdf4a24..b615991 100644 --- a/qtmips_cli/qtmips_cli.pro +++ b/qtmips_cli/qtmips_cli.pro @@ -8,6 +8,13 @@ CONFIG += c++11 TEMPLATE = app LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine + +DOLAR=$ + +unix: LIBS += \ + -Wl,-rpath,\'$${DOLAR}$${DOLAR}ORIGIN/../lib\' \ + --enable-new-dtags \ + INCLUDEPATH += $$PWD/../qtmips_machine DEPENDPATH += $$PWD/../qtmips_machine QMAKE_CXXFLAGS += -std=c++0x |