Now build rootfs+kernel images
[openwrt.git] / openwrt / package / asterisk / patches / asterisk-1.2.0-Makefile-cdr.patch
1 diff -ruN asterisk-1.2.0-old/cdr/Makefile asterisk-1.2.0-new/cdr/Makefile
2 --- asterisk-1.2.0-old/cdr/Makefile 2005-11-14 01:45:07.000000000 +0100
3 +++ asterisk-1.2.0-new/cdr/Makefile 2005-12-04 22:22:43.000000000 +0100
4 @@ -107,6 +107,9 @@
5 MODS+=cdr_sqlite.so
6 endif
7
8 +CFLAGS += $(EXTRA_CFLAGS)
9 +MODS += $(EXTRA_CDR_MODULES)
10 +
11 all: depend $(MODS)
12
13 install: all
14 @@ -123,16 +126,19 @@
15 endif
16
17 cdr_odbc.so: cdr_odbc.o
18 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lodbc $(MLFLAGS)
19 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lodbc $(MLFLAGS)
20
21 cdr_tds.so: cdr_tds.o
22 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -ltds $(MLFLAGS)
23 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -ltds $(MLFLAGS)
24 +
25 +cdr_mysql.so: cdr_pgsql.o
26 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient -lz $(MLFLAGS)
27
28 cdr_pgsql.so: cdr_pgsql.o
29 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lpq -lz $(MLFLAGS)
30 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lpq -lz $(MLFLAGS)
31
32 cdr_sqlite.so: cdr_sqlite.o
33 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lsqlite $(MLFLAGS)
34 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lsqlite $(MLFLAGS)
35
36 depend: .depend
37
This page took 0.055841 seconds and 5 git commands to generate.