fixes compile for ldap module in php5
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6525 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fac0758d15
commit
2a91f86517
@ -1,5 +1,5 @@
|
|||||||
--- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500
|
--- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500
|
||||||
+++ php-5.1.6/configure 2007-03-03 18:59:35.000000000 -0600
|
+++ php-5.1.6/configure 2007-03-04 18:41:24.000000000 -0600
|
||||||
@@ -14919,7 +14919,7 @@
|
@@ -14919,7 +14919,7 @@
|
||||||
ac_libs=$LIBS
|
ac_libs=$LIBS
|
||||||
LIBS="$LIBS -ldl"
|
LIBS="$LIBS -ldl"
|
||||||
@ -18,29 +18,12 @@
|
|||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 45582 "configure"
|
#line 45582 "configure"
|
||||||
@@ -107054,6 +107054,7 @@
|
@@ -52337,7 +52337,7 @@
|
||||||
else
|
_SAVE_CPPFLAGS=$CPPFLAGS
|
||||||
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
_SAVE_LDFLAGS=$LDFLAGS
|
||||||
fi
|
CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
|
||||||
+sys_lib_search_path_spec=""
|
- LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD"
|
||||||
need_lib_prefix=unknown
|
+ LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD -lsasl2"
|
||||||
hardcode_into_libs=no
|
|
||||||
|
|
||||||
@@ -107596,6 +107597,8 @@
|
echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6
|
||||||
dynamic_linker=no
|
echo "configure:52344: checking for 3 arg ldap_set_rebind_proc" >&5
|
||||||
;;
|
|
||||||
esac
|
|
||||||
+sys_lib_search_path_spec=""
|
|
||||||
+
|
|
||||||
echo "$ac_t""$dynamic_linker" 1>&6
|
|
||||||
test "$dynamic_linker" = no && can_build_shared=no
|
|
||||||
|
|
||||||
@@ -108669,7 +108672,7 @@
|
|
||||||
link_all_deplibs=$link_all_deplibs
|
|
||||||
|
|
||||||
# Compile-time system search path for libraries
|
|
||||||
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
||||||
+sys_lib_search_path_spec=
|
|
||||||
|
|
||||||
# Run-time system search path for libraries
|
|
||||||
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user