Corrected missing dependency
[openwrt.git] / package / asterisk / patches / asterisk-1.2.0-Makefile-apps.patch
1 diff -ruN asterisk-1.2.0-old/apps/Makefile asterisk-1.2.0-new/apps/Makefile
2 --- asterisk-1.2.0-old/apps/Makefile 2005-11-11 01:32:45.000000000 +0100
3 +++ asterisk-1.2.0-new/apps/Makefile 2005-12-04 19:26:20.000000000 +0100
4 @@ -83,6 +83,9 @@
5 #CFLAGS+=-DEXTENDED_ODBC_STORAGE
6 # See doc/README.odbcstorage for more information
7
8 +CFLAGS += $(EXTRA_CFLAGS)
9 +APPS += $(EXTRA_APP_MODULES)
10 +
11 all: $(APPS)
12
13 clean:
14 @@ -102,14 +105,17 @@
15 app_curl.so: app_curl.o
16 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
17
18 +app_sql_mysql.so: app_sql_mysql.o
19 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient
20 +
21 app_sql_postgres.o: app_sql_postgres.c
22 - $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
23 + $(CC) -pipe $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
24
25 app_sql_postgres.so: app_sql_postgres.o
26 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq
27 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lpq
28
29 app_sql_odbc.so: app_sql_odbc.o
30 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lodbc
31 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lodbc
32
33 look: look.c
34 $(CC) -pipe -O6 -g look.c -o look -lncurses
This page took 0.043124 seconds and 5 git commands to generate.