diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-08-24 16:39:47 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-27 12:49:18 +0200 |
commit | 768f20b8ad12aadc9f2e6f52b342e6a1b243dc2a (patch) | |
tree | b900eab16e4209f85491c4f1c5bf2f902b554247 | |
parent | fea3840ee5829afc4b159c81341366e47e4d6959 (diff) | |
download | meta-openembedded-768f20b8ad12aadc9f2e6f52b342e6a1b243dc2a.tar.gz |
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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 1 |
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 030c09065..6bdae78fb 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
@@ -35,6 +35,7 @@ EXTRA_OECONF = "--enable-mbstring \ | |||
35 | " | 35 | " |
36 | EXTRA_OECONF_virtclass-native = " \ | 36 | EXTRA_OECONF_virtclass-native = " \ |
37 | --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \ | 37 | --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \ |
38 | --without-iconv \ | ||
38 | ${COMMON_EXTRA_OECONF} \ | 39 | ${COMMON_EXTRA_OECONF} \ |
39 | " | 40 | " |
40 | 41 | ||