| 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 |