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. --- Makefile.in | 3 --- project/extras.mk | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 67152e3..2d589c6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,3 @@ -LIBCPARSER_A = /usr/local/lib/libcparser.a -LIBFIRM_A = /usr/local/lib/libfirm.a - PACKAGE = @package@ PROJECT_DIR = @project_dir@ 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