summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/gd/gd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gd/gd.mk b/package/gd/gd.mk
index d0fd5720a0..1613464446 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
OpenPOWER on IntegriCloud