diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-15 08:22:57 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-15 08:22:57 +0000 |
commit | 9d5362a82a7c66b67f7156c3a58d90b28b7115b7 (patch) | |
tree | 96f32416dfe392a50f5833ffc6b30fd7cd90450d /openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-res.patch | |
parent | d0921c4da80bff0431e4d88d4157dc0117942dc7 (diff) |
update asterisk to new upstream release (v1.2.1)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-res.patch')
-rw-r--r-- | openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-res.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-res.patch b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-res.patch new file mode 100644 index 000000000..2f782cb1d --- /dev/null +++ b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-res.patch @@ -0,0 +1,26 @@ +diff -ruN asterisk-1.2.0-old/res/Makefile asterisk-1.2.0-new/res/Makefile +--- asterisk-1.2.0-old/res/Makefile 2005-11-16 21:49:44.000000000 +0100 ++++ asterisk-1.2.0-new/res/Makefile 2005-12-04 19:18:15.000000000 +0100 +@@ -69,6 +69,9 @@ + CFLAGS+=-DOPENSSL_NO_KRB5 -fPIC + endif + ++CFLAGS += $(EXTRA_CFLAGS) ++MODS += $(EXTRA_RES_MODULES) ++ + all: depend $(MODS) + + install: all +@@ -112,6 +112,12 @@ + res_config_odbc.so: res_config_odbc.o + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} ${CYG_RES_CONFIG_ODBC_LIB} + ++res_config_mysql.so: res_config_mysql.o ++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient -lz ++ ++res_sqlite.so: res_sqlite.o ++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lsqlite ++ + ifneq ($(wildcard .depend),) + include .depend + endif |