diff options
author | midipix <writeonce@midipix.org> | 2015-12-30 07:16:27 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-01 22:50:24 -0500 |
commit | 2e2787b729b930585459ca13e6698130b0d08978 (patch) | |
tree | be4131d3b186c69cd33de11ed977ebfee628edac | |
parent | 9c202860ad2bc391a0ac8bc2e99b3e5624d2b472 (diff) | |
download | apimagic-2e2787b729b930585459ca13e6698130b0d08978.tar.bz2 apimagic-2e2787b729b930585459ca13e6698130b0d08978.tar.xz |
project: fix switches for statically linking libfirm and libcparser into default app.
-rw-r--r-- | Makefile.in | 3 | ||||
-rw-r--r-- | project/extras.mk | 2 |
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 |