aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-08-24 18:03:59 -0300
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-01 11:45:23 +0200
commit662cf409c1175450699d498085f3c894e0fe81d0 (patch)
tree1eb38b7c50e141133725e66df037420179cedd0a
parenteae833e07b83768d894603a244ec7c88f5802abb (diff)
downloadmeta-openembedded-662cf409c1175450699d498085f3c894e0fe81d0.tar.gz
meta-openembedded-662cf409c1175450699d498085f3c894e0fe81d0.tar.bz2
meta-openembedded-662cf409c1175450699d498085f3c894e0fe81d0.zip
php: Fix native build due mistakenly linking against host's iconv
The configure script has mistakenly choose to enable iconv support, due host to provide it, adding '/usr/lib' to the linking flags and failing as: ,----[ Linking error while testing 'fork' support ] | conftest.c:268: warning: conflicting types for built-in function 'fork' | .../build/tmp/sysroots/x86_64-linux/usr/lib/libxml2.so: | undefined reference to `gzopen64@ZLIB_1.2.3.3' | collect2: ld returned 1 exit status `---- This patch disables iconv support for native builds fixing the error. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Armin Kuster <akuster808@gmail.com> Acked-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/php/php.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index b1bf79cfc..1e2aa7264 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -37,6 +37,7 @@ EXTRA_OECONF = "--enable-mbstring \
EXTRA_OECONF_virtclass-native = " \
--with-zlib=${STAGING_LIBDIR_NATIVE}/.. \
--with-libxml-dir=${STAGING_BINDIR_NATIVE} \
+ --without-iconv \
${COMMON_EXTRA_OECONF} \
"