From: mhei Date: Sun, 24 Jul 2011 22:21:34 +0000 (+0000) Subject: [packages] php5: fix cross compiling issue with -ldl X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=84510bbd1abf8ade447e6b3312a7ecc59e48f846;p=packages.git [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 --- diff --git a/lang/php5/patches/950-Fix-dl-cross-compiling-issue.patch b/lang/php5/patches/950-Fix-dl-cross-compiling-issue.patch new file mode 100644 index 000000000..81de7f807 --- /dev/null +++ b/lang/php5/patches/950-Fix-dl-cross-compiling-issue.patch @@ -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 <