let ipkg fail when a package file to be installed is not found
[openwrt/svn-archive/archive.git] / openwrt / package / asterisk / patches / asterisk-1.0.7-Makefile-astdb.patch
1 diff -ruN asterisk-1.0.7-old/db1-ast/Makefile asterisk-1.0.7-new/db1-ast/Makefile
2 --- asterisk-1.0.7-old/db1-ast/Makefile 2004-08-31 18:33:00.000000000 +0200
3 +++ asterisk-1.0.7-new/db1-ast/Makefile 2005-03-19 17:38:06.000000000 +0100
4 @@ -32,8 +32,8 @@
5
6 $(LIBDB): $(OBJS)
7 rm -f $@
8 - ar cq $@ $(OBJS)
9 - ranlib $@
10 + $(AR) cq $@ $(OBJS)
11 + $(RANLIB) $@
12
13 $(LIBDBSO): $(SHOBJS)
14 $(CC) -Wl,-O1 -Wl,--version-script=libdb.map -Wl,-soname=$(LIBDBSO) -shared -o $@ $^