From 7ca97b357f336db85c9f76d6443515165e4f1077 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 5 Oct 2014 19:38:58 +0200 Subject: package/php: Add support for mcrypt module Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/php/php.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/php/php.mk') diff --git a/package/php/php.mk b/package/php/php.mk index c2840f3d10..30c8d02f13 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -77,6 +77,11 @@ PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \ $(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 -- cgit v1.2.3