Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
help
HASH message digest framework
+config BR2_PACKAGE_PHP_EXT_MCRYPT
+ bool "mcrypt"
+ help
+ mcrypt support
+
config BR2_PACKAGE_PHP_EXT_OPENSSL
bool "openssl"
select BR2_PACKAGE_OPENSSL
$(if $(BR2_PACKAGE_PHP_EXT_BCMATH),--enable-bcmath) \
$(if $(BR2_PACKAGE_PHP_EXT_PHAR),--enable-phar)
+ifeq ($(BR2_PACKAGE_PHP_EXT_MCRYPT),y)
+ PHP_CONF_OPTS += --with-mcrypt=$(STAGING_DIR)/usr
+ PHP_DEPENDENCIES += libmcrypt
+endif
+
ifeq ($(BR2_PACKAGE_PHP_EXT_OPENSSL),y)
PHP_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
PHP_DEPENDENCIES += openssl