diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-05-07 19:05:51 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-05-07 19:05:51 +0000 |
commit | 670b52a218e9b918b414c815e8e133bc01155207 (patch) | |
tree | 8241e69ee181bc68ab343686373bc71a30cf6bab /openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch | |
parent | 07df01e891bdb99fb2e70a13666dfee1191197fc (diff) | |
download | mtk-20170518-670b52a218e9b918b414c815e8e133bc01155207.zip mtk-20170518-670b52a218e9b918b414c815e8e133bc01155207.tar.gz mtk-20170518-670b52a218e9b918b414c815e8e133bc01155207.tar.bz2 |
make asterisk chan_bluetooth and chan_h323 modules optional, link openh323 and pwlib statically.
SVN-Revision: 3737
Diffstat (limited to 'openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch')
-rw-r--r-- | openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch b/openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch index 7c278a7..4f3425d 100644 --- a/openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch +++ b/openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch @@ -1,23 +1,14 @@ diff -ruN asterisk-1.0.9-old/channels/Makefile asterisk-1.0.9-new/channels/Makefile --- asterisk-1.0.9-old/channels/Makefile 2005-08-22 20:42:22.000000000 +0200 +++ asterisk-1.0.9-new/channels/Makefile 2005-08-22 21:12:14.000000000 +0200 -@@ -37,6 +37,12 @@ - # - #CHANNEL_LIBS+=chan_vofr +@@ -202,6 +202,13 @@ + chan_h323.so: chan_h323.o h323/libchanh323.a + $(CC) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat +# +# Asterisk Bluetooth Support +# http://www.crazygreek.co.uk/content/chan_bluetooth +# -+CHANNEL_LIBS += chan_bluetooth.so -+ - ifeq (${OSARCH},OpenBSD) - MYSQLLIB=-L/usr/local/lib/mysql -lmysqlclient - CFLAGS+=-I/usr/local/include -@@ -202,6 +208,9 @@ - chan_h323.so: chan_h323.o h323/libchanh323.a - $(CC) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat - +chan_bluetooth.so: chan_bluetooth.o + $(CC) $(SOLINK) -o $@ $< $(EXTRA_LDFLAGS) -lbluetooth + |