From 2e2787b729b930585459ca13e6698130b0d08978 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 30 Dec 2015 07:16:27 -0500 Subject: project: fix switches for statically linking libfirm and libcparser into default app. --- project/extras.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project') 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 -- cgit v1.2.3