summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-30 07:16:27 -0500
committermidipix <writeonce@midipix.org>2016-01-01 22:50:24 -0500
commit2e2787b729b930585459ca13e6698130b0d08978 (patch)
treebe4131d3b186c69cd33de11ed977ebfee628edac /project
parent9c202860ad2bc391a0ac8bc2e99b3e5624d2b472 (diff)
downloadapimagic-2e2787b729b930585459ca13e6698130b0d08978.tar.bz2
apimagic-2e2787b729b930585459ca13e6698130b0d08978.tar.xz
project: fix switches for statically linking libfirm and libcparser into default app.
Diffstat (limited to 'project')
-rw-r--r--project/extras.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/extras.mk b/project/extras.mk
index e3a8526..758469b 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -2,6 +2,6 @@ CFLAGS_SHARED_ATTR += -DAMGC_PRE_ALPHA -DAMGC_BUILD
CFLAGS_STATIC_ATTR += -DAMGC_PRE_ALPHA -DAMGC_STATIC
CFLAGS_APP_ATTR += -DAMGC_APP
-LDFLAGS_APP += $(LIBCPARSER_A) $(LIBFIRM_A)
+LDFLAGS_APP += -Wl,-Bstatic -lcparser -lfirm -Wl,-Bdynamic
LDFLAGS_SHARED += -lcparser -lfirm
LDFLAGS_STATIC += -lcparser -lfirm