diff --git a/openwrt/package/php5/Makefile b/openwrt/package/php5/Makefile index bc48855d45..176654472f 100644 --- a/openwrt/package/php5/Makefile +++ b/openwrt/package/php5/Makefile @@ -67,7 +67,7 @@ endif ifneq ($(BR2_PACKAGE_PHP5_MOD_GD),) PKG_CONFIGURE_OPTS+= --with-gd=shared,"$(STAGING_DIR)/usr" \ --without-freetype-dir \ - --without-jpeg-dir \ + --with-jpeg-dir="$(STAGING_DIR)/usr" \ --with-png-dir="$(STAGING_DIR)/usr" \ --without-xpm-dir \ --without-ttf \