[packages] php5: fix cross compiling issue with -ldl

Php5's configure script seems to be a little bit buggy as
it disables dynamic library support during cross-compiling.

See also http://www.apachefriends.org/f/viewtopic.php?f=6&t=32367

For now, fix this by preventing the configure script overriding
the previously detected value.



git-svn-id: svn://svn.openwrt.org/openwrt/packages@27763 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mhei 2011-07-24 22:21:34 +00:00
parent 8b3a46a6ab
commit 84510bbd1a

View File

@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -15979,7 +15979,7 @@
ac_libs=$LIBS
LIBS="$LIBS -ldl"
if test "$cross_compiling" = yes; then
- found=no
+ found=$found
else
cat > conftest.$ac_ext <<EOF
#line 15986 "configure"