diff options
Diffstat (limited to 'package/gd/gd.mk')
-rw-r--r-- | package/gd/gd.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gd/gd.mk b/package/gd/gd.mk index 972d8dda4..de1f5d171 100644 --- a/package/gd/gd.mk +++ b/package/gd/gd.mk @@ -33,6 +33,10 @@ endif ifeq ($(BR2_PACKAGE_LIBPNG),y) GD_DEPENDENCIES += libpng GD_CONF_OPT += --with-png +GD_CONF_ENV += ac_cv_path_LIBPNG12_CONFIG="" +GD_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config +else +GD_CONF_OPT += --without-png endif ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y) |