aboutsummaryrefslogtreecommitdiffstats
path: root/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-pbx.patch
blob: f1d2a63317315a9385be85daf122df7950bfa6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -ruN asterisk-1.2.0-old/pbx/Makefile asterisk-1.2.0-new/pbx/Makefile
--- asterisk-1.2.0-old/pbx/Makefile	2005-11-01 22:53:30.000000000 +0100
+++ asterisk-1.2.0-new/pbx/Makefile	2005-12-04 19:23:48.000000000 +0100
@@ -38,6 +38,9 @@
 
 KDE_CONSOLE_OBJS=pbx_kdeconsole_main.o pbx_kdeconsole.o 
 
+CFLAGS += $(EXTRA_CFLAGS)
+PBX_LIBS += $(EXTRA_PBX_MODULES)
+
 all: depend $(PBX_LIBS)
 
 clean:
@@ -59,7 +62,7 @@
 	$(CC) $(SOLINK) -o $@ $(KDE_CONSOLE_OBJS) $(KDE_LIBS)
 
 pbx_dundi.so: dundi-parser.o pbx_dundi.o
-	$(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o -lz ${CYGSOLIB}
+	$(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o $(EXTRA_LDFLAGS) -lz ${CYGSOLIB}
 
 %.moc : %.h
 	$(MOC) $< -o $@