aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 21:21:29 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 21:21:29 +0000
commit768d21ddd09555b2f785157644e95832447f324b (patch)
tree821b2e8cfc11c8d975bf3ed30cb59e782bda4f18 /main
parent3812d38eb1938afda7e0ddbbba08175c092e3f65 (diff)
add another attempt to strip non-API symbols from the final binary... script will need to be extended to work on non-Linux systems
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43450 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/Makefile b/main/Makefile
index da2197f9b..b615c3b65 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -130,7 +130,8 @@ asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS)
@rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp
@$(CC) -c -o buildinfo.o $(CFLAGS) buildinfo.c
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
- $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o asterisk $(ASTLINK) $(AST_EMBED_LDFLAGS) $(LDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
+ $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(LDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
+ @$(ASTTOPDIR)/build_tools/strip_nonapi $@
clean::
rm -f asterisk