summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in3
-rw-r--r--project/extras.mk2
2 files changed, 1 insertions, 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