aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-12 23:17:12 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-12 23:17:12 +0100
commitb67d168951e289a7a4ecd9ef50f9c84e9767ecda (patch)
treef93fca11cdbc7e92416ca2a235f811c69e3cd86f
parentdf292aade4d174a7a5824f463b3a1dccf20e6c54 (diff)
downloadqtmips-b67d168951e289a7a4ecd9ef50f9c84e9767ecda.tar.gz
qtmips-b67d168951e289a7a4ecd9ef50f9c84e9767ecda.tar.bz2
qtmips-b67d168951e289a7a4ecd9ef50f9c84e9767ecda.zip
Add ELF library even to the final executables linking to allow build with static machine lib.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
-rw-r--r--qtmips_cli/qtmips_cli.pro2
-rw-r--r--qtmips_gui/qtmips_gui.pro2
-rw-r--r--qtmips_machine/tests/tests.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/qtmips_cli/qtmips_cli.pro b/qtmips_cli/qtmips_cli.pro
index 54f1676..9b763b9 100644
--- a/qtmips_cli/qtmips_cli.pro
+++ b/qtmips_cli/qtmips_cli.pro
@@ -7,7 +7,7 @@ CONFIG += c++11
TEMPLATE = app
-LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine
+LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine -lelf
DOLAR=$
diff --git a/qtmips_gui/qtmips_gui.pro b/qtmips_gui/qtmips_gui.pro
index e3a3890..273297f 100644
--- a/qtmips_gui/qtmips_gui.pro
+++ b/qtmips_gui/qtmips_gui.pro
@@ -5,7 +5,7 @@ CONFIG += c++11
TEMPLATE = app
-LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine
+LIBS += -L$$OUT_PWD/../qtmips_machine/ -lqtmips_machine -lelf
DOLAR=$
diff --git a/qtmips_machine/tests/tests.pro b/qtmips_machine/tests/tests.pro
index ec7a129..007d8c5 100644
--- a/qtmips_machine/tests/tests.pro
+++ b/qtmips_machine/tests/tests.pro
@@ -8,7 +8,7 @@ CONFIG += c++11
TEMPLATE = app
-LIBS += -L$$OUT_PWD/../ -lqtmips_machine
+LIBS += -L$$OUT_PWD/../ -lqtmips_machine -lelf
DOLAR=$