update mysql to 5.0 (fix #9)
[openwrt.git] / openwrt / package / asterisk / patches / asterisk-1.2.0-Makefile-res.patch
1 diff -ruN asterisk-1.2.0-old/res/Makefile asterisk-1.2.0-new/res/Makefile
2 --- asterisk-1.2.0-old/res/Makefile 2005-11-16 21:49:44.000000000 +0100
3 +++ asterisk-1.2.0-new/res/Makefile 2005-12-04 19:18:15.000000000 +0100
4 @@ -69,6 +69,9 @@
5 CFLAGS+=-DOPENSSL_NO_KRB5 -fPIC
6 endif
7
8 +CFLAGS += $(EXTRA_CFLAGS)
9 +MODS += $(EXTRA_RES_MODULES)
10 +
11 all: depend $(MODS)
12
13 install: all
14 @@ -112,6 +112,12 @@
15 res_config_odbc.so: res_config_odbc.o
16 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} ${CYG_RES_CONFIG_ODBC_LIB}
17
18 +res_config_mysql.so: res_config_mysql.o
19 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient -lz
20 +
21 +res_sqlite.so: res_sqlite.o
22 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lsqlite
23 +
24 ifneq ($(wildcard .depend),)
25 include .depend
26 endif
This page took 0.039481 seconds and 5 git commands to generate.