packages/lang/php5/patches/01-configure_cross.patch
pavlov 57baf4fa31 move from php 5.0.5 to php 5.1.6... compiles but not tested on a platform
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 01:44:28 +00:00

47 lines
1.3 KiB
Diff

--- /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
@@ -14919,7 +14919,7 @@
ac_libs=$LIBS
LIBS="$LIBS -ldl"
if test "$cross_compiling" = yes; then
- found=no
+ found=yes
else
cat > conftest.$ac_ext <<EOF
#line 14926 "configure"
@@ -45575,7 +45575,7 @@
php_iconv_old_ld="$LDFLAGS"
LDFLAGS="-liconv $LDFLAGS"
if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; }
else
cat > conftest.$ac_ext <<EOF
#line 45582 "configure"
@@ -107054,6 +107054,7 @@
else
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
fi
+sys_lib_search_path_spec=""
need_lib_prefix=unknown
hardcode_into_libs=no
@@ -107596,6 +107597,8 @@
dynamic_linker=no
;;
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