From 4da28a2fbb3ead466a81382970c976667e6ab6cc Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Wed, 9 Dec 2009 19:33:29 -0700 Subject: php_5.2.11.bb : add --enable-mbstring site/arm-common : add magic value for mbstring that cannot be checked This enables UTF-8 support in OE php --- recipes/php/php_5.2.11.bb | 19 ++++++++++--------- site/arm-common | 1 + 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/recipes/php/php_5.2.11.bb b/recipes/php/php_5.2.11.bb index 06a9fe2668..d4fd98597a 100644 --- a/recipes/php/php_5.2.11.bb +++ b/recipes/php/php_5.2.11.bb @@ -2,7 +2,7 @@ require php.inc DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql" -PR = "r0" +PR = "r1" SRC_URI += "file://pear-makefile.patch;patch=1 \ " @@ -10,19 +10,20 @@ export THREADS="pthread" export LIBS=" -lpthread " EXTRA_OECONF = " --without-iconv \ - --enable-discard-path \ - --enable-sockets \ - --enable-shared \ + --enable-mbstring \ + --enable-discard-path \ + --enable-sockets \ + --enable-shared \ --enable-pcntl \ - --enable-memory-limit \ - --enable-wddx \ + --enable-memory-limit \ + --enable-wddx \ --enable-embedded-mysqli \ --enable-magic-quotes \ - --enable-fastcgi \ - --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \ + --enable-fastcgi \ + --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \ --with-libxml-dir=${STAGING_BINDIR_CROSS} \ --with-mysql="${STAGING_DIR_TARGET}${layout_exec_prefix}" \ -# --with-mysqli = "${STAGING_BINDIR_NATIVE}/mysql_config" \ +# --with-mysqli = "${STAGING_BINDIR_NATIVE}/mysql_config" \ --without-pdo-sqlite \ " diff --git a/site/arm-common b/site/arm-common index b5cf8c28cb..20de8c5261 100644 --- a/site/arm-common +++ b/site/arm-common @@ -164,6 +164,7 @@ ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} ac_cv_pread=${ac_cv_pread=no} ac_cv_pwrite=${ac_cv_pwrite=no} php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes} +cv_php_mbstring_stdarg=${cv_php_mbstring_stdarg=yes} # rsync rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no} -- cgit 1.2.3-korg