fixes compile for ldap module in php5
[packages.git] / net / asterisk / patches / 03-Makefile-astdb.patch
1 diff -Nru asterisk-1.2.14.org/db1-ast/Makefile asterisk-1.2.14/db1-ast/Makefile
2 --- asterisk-1.2.14.org/db1-ast/Makefile        2006-04-30 16:27:56.000000000 +0200
3 +++ asterisk-1.2.14/db1-ast/Makefile    2006-12-27 08:52:14.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 $@ $^