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-apps.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-apps.patch')
-rw-r--r-- | openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-apps.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-apps.patch b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-apps.patch new file mode 100644 index 000000000..7df38f764 --- /dev/null +++ b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-apps.patch @@ -0,0 +1,34 @@ +diff -ruN asterisk-1.2.0-old/apps/Makefile asterisk-1.2.0-new/apps/Makefile +--- asterisk-1.2.0-old/apps/Makefile 2005-11-11 01:32:45.000000000 +0100 ++++ asterisk-1.2.0-new/apps/Makefile 2005-12-04 19:26:20.000000000 +0100 +@@ -83,6 +83,9 @@ + #CFLAGS+=-DEXTENDED_ODBC_STORAGE + # See doc/README.odbcstorage for more information + ++CFLAGS += $(EXTRA_CFLAGS) ++APPS += $(EXTRA_APP_MODULES) ++ + all: $(APPS) + + clean: +@@ -102,14 +105,17 @@ + app_curl.so: app_curl.o + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS) + ++app_sql_mysql.so: app_sql_mysql.o ++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient ++ + app_sql_postgres.o: app_sql_postgres.c +- $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c ++ $(CC) -pipe $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c + + app_sql_postgres.so: app_sql_postgres.o +- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq ++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lpq + + app_sql_odbc.so: app_sql_odbc.o +- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lodbc ++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lodbc + + look: look.c + $(CC) -pipe -O6 -g look.c -o look -lncurses |