diff options
Diffstat (limited to 'package/php/php.mk')
-rw-r--r-- | package/php/php.mk | 5 |
1 files changed, 5 insertions, 0 deletions
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 |