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

Revision 3291, 0.5 kB (checked in by tg, 1 year ago)

submitted these upstream on behalf of wbx@

Line 
1 $FreeWRT$
2
3         make misdn support build correctly
4
5         submitted upstream as http://bugs.digium.com/view.php?id=10252
6
7 --- asterisk-1.2.22.orig/channels/misdn/Makefile        2007-03-26 12:21:56.000000000 +0200
8 +++ asterisk-1.2.22/channels/misdn/Makefile     2007-07-19 00:48:12.000000000 +0200
9 @@ -21,11 +21,11 @@ all: chan_misdn_lib.a
10  
11  
12  %.o: %.c
13 -       $(CC) $(CFLAGS) -o $@ $<
14 +       $(CC) ${CPPFLAGS} ${LDFLAGS} $(CFLAGS) -o $@ $<
15        
16  
17  chan_misdn_lib.a:      $(OBJS)
18 -       ar crv $@ $(OBJS)
19 +       ${TARGET_CROSS}ar crv $@ $(OBJS)
20  
21  misdn:
22         @mkdir -p lib
Note: See TracBrowser for help on using the browser.