[asterisk-commits] russell: trunk r81343 - in /trunk: ./ main/Makefile
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 29 10:59:11 CDT 2007
Author: russell
Date: Wed Aug 29 10:59:10 2007
New Revision: 81343
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81343
Log:
Merged revisions 81342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81342 | russell | 2007-08-29 10:57:29 -0500 (Wed, 29 Aug 2007) | 3 lines
If chan_h323 is not being built, don't use g++ to do the final link of Asterisk.
(in response to a question on the asterisk-dev list)
........
Modified:
trunk/ (props changed)
trunk/main/Makefile
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/main/Makefile?view=diff&rev=81343&r1=81342&r2=81343
==============================================================================
--- trunk/main/Makefile (original)
+++ trunk/main/Makefile Wed Aug 29 10:59:10 2007
@@ -142,7 +142,11 @@
asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a minimime/libmmime.a $(AST_EMBED_LDSCRIPTS)
@$(CC) -c -o buildinfo.o $(ASTCFLAGS) buildinfo.c
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
+ifneq ($(findstring chan_h323,$(MENUSELECT_CHANNELS)),)
+ $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS)
+else
$(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
+endif
@$(ASTTOPDIR)/build_tools/strip_nonapi $@
clean::
More information about the asterisk-commits
mailing list