diff --git a/package/gd/gd.mk b/package/gd/gd.mk index d0fd5720a..161346444 100644 --- a/package/gd/gd.mk +++ b/package/gd/gd.mk @@ -40,7 +40,7 @@ endif ifeq ($(BR2_PACKAGE_LIBPNG),y) GD_DEPENDENCIES += libpng -GD_CONF_OPTS += --with-png=$(STAGING_DIR)/usr +GD_CONF_OPTS += --with-png else GD_CONF_OPTS += --without-png endif