[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:
parent
8b3a46a6ab
commit
84510bbd1a
11
lang/php5/patches/950-Fix-dl-cross-compiling-issue.patch
Normal file
11
lang/php5/patches/950-Fix-dl-cross-compiling-issue.patch
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user