packages/net/asterisk-1.4.x/patches/011-Makefile-main.patch

13 lines
762 B
Diff
Raw Normal View History

diff -Nru asterisk-1.4.5.org/main/Makefile asterisk-1.4.5/main/Makefile
--- asterisk-1.4.5.org/main/Makefile 2007-04-10 18:05:55.000000000 +0200
+++ asterisk-1.4.5/main/Makefile 2007-06-22 08:59:22.000000000 +0200
@@ -135,7 +135,7 @@
@rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp
@$(CC) -c -o buildinfo.o $(ASTCFLAGS) buildinfo.c
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
- $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
+ $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS)
@$(ASTTOPDIR)/build_tools/strip_nonapi $@
clean::