|
@@ -327,12 +327,10 @@ endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PHP_EXT_GD),y)
|
|
|
PHP_CONF_OPTS += \
|
|
|
- --with-gd \
|
|
|
- --with-jpeg-dir=$(STAGING_DIR)/usr \
|
|
|
- --with-png-dir=$(STAGING_DIR)/usr \
|
|
|
- --with-zlib-dir=$(STAGING_DIR)/usr \
|
|
|
- --with-freetype-dir=$(STAGING_DIR)/usr
|
|
|
-PHP_DEPENDENCIES += jpeg libpng freetype
|
|
|
+ --enable-gd \
|
|
|
+ --with-jpeg \
|
|
|
+ --with-freetype
|
|
|
+PHP_DEPENDENCIES += jpeg libpng freetype zlib
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_PHP_SAPI_FPM),y)
|