package/php: Add support for mbstring module
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 5 Oct 2014 17:38:59 +0000 (19:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Oct 2014 21:31:20 +0000 (22:31 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/php/Config.ext
package/php/php.mk

index 4649375493fea243d0fbcadafba293acde65a5bf..241e4a95acf8a31e074b665a348b36d894fb3e1d 100644 (file)
@@ -192,6 +192,11 @@ comment "intl support needs a toolchain w/ C++, wchar, threads"
        depends on BR2_ARCH_HAS_ATOMICS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
+config BR2_PACKAGE_PHP_EXT_MBSTRING
+       bool "mbstring"
+       help
+         multibyte string support
+
 comment "Image processing"
 
 config BR2_PACKAGE_PHP_EXT_EXIF
index 30c8d02f13793aef5f52d020300afd15a2156bfb..9456f1c9b2e98112657b6190dd53af0f4c81a470 100644 (file)
@@ -75,6 +75,7 @@ PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \
                $(if $(BR2_PACKAGE_PHP_EXT_CALENDAR),--enable-calendar) \
                $(if $(BR2_PACKAGE_PHP_EXT_FILEINFO),--enable-fileinfo) \
                $(if $(BR2_PACKAGE_PHP_EXT_BCMATH),--enable-bcmath) \
+               $(if $(BR2_PACKAGE_PHP_EXT_MBSTRING),--enable-mbstring) \
                $(if $(BR2_PACKAGE_PHP_EXT_PHAR),--enable-phar)
 
 ifeq ($(BR2_PACKAGE_PHP_EXT_MCRYPT),y)