root/trunk/freewrt/package/asterisk-12/patches/patch-utils_Makefile

Revision 3291, 0.7 kB (checked in by tg, 5 years ago)

submitted these upstream on behalf of wbx@

Line 
1 $FreeWRT$
2
3         never forget the LDFLAGS when linking
4         submitted upstream as http://bugs.digium.com/view.php?id=10252
5
6 --- asterisk-1.2.15.orig/utils/Makefile 2007-01-24 18:43:50.000000000 +0100
7 +++ asterisk-1.2.15/utils/Makefile      2007-02-28 18:50:04.000000000 +0100
8 @@ -65,10 +65,10 @@ check_expr: check_expr.c ast_expr2.o ast
9         $(CC) $(CFLAGS) -o $@ check_expr.c ast_expr2.o ast_expr2f.o
10  
11  smsq: smsq.o
12 -       $(CC) $(CFLAGS) -o smsq ${SOL} smsq.o -lpopt
13 +       $(CC) $(CFLAGS) ${LDFLAGS} -o smsq ${SOL} smsq.o -lpopt
14  
15  streamplayer: streamplayer.o
16 -       $(CC) $(CFLAGS) -o streamplayer ${SOL} streamplayer.o ${SOLLIBS}
17 +       $(CC) $(CFLAGS) ${LDFLAGS} -o streamplayer ${SOL} streamplayer.o ${SOLLIBS}
18  
19  ifneq ($(wildcard .depend),)
20    include .depend
Note: See TracBrowser for help on using the browser.