[packages] kamailio3, fix cross compile
authorJohn Crispin <john@openwrt.org>
Tue, 14 Aug 2012 15:28:24 +0000 (15:28 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 14 Aug 2012 15:28:24 +0000 (15:28 +0000)
SVN-Revision: 33187

net/kamailio3/patches/100-cross_compile.patch [new file with mode: 0644]

diff --git a/net/kamailio3/patches/100-cross_compile.patch b/net/kamailio3/patches/100-cross_compile.patch
new file mode 100644 (file)
index 0000000..963a607
--- /dev/null
@@ -0,0 +1,13 @@
+Index: kamailio3-3.3.0/modules_s/ldap/Makefile
+===================================================================
+--- kamailio3-3.3.0.orig/modules_s/ldap/Makefile       2012-08-14 17:14:01.000000000 +0200
++++ kamailio3-3.3.0/modules_s/ldap/Makefile    2012-08-14 17:14:12.000000000 +0200
+@@ -14,7 +14,7 @@
+ # LD_SCOPE_CHILDREN defined
+ #DEFS += -DHAVE_SCOPE_CHILDREN
+-LIBS=-L$(LOCALBASE)/lib -L /usr/lib -lldap
++LIBS=-L$(LOCALBASE)/lib -lldap
+ DEFS+=-DSER_MOD_INTERFACE