packages/lang/php5/patches/950-Fix-dl-cross-compiling-issue.patch
mhei 84510bbd1a [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
2011-07-24 22:21:34 +00:00

12 lines
233 B
Diff

--- 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"