summaryrefslogtreecommitdiffstats
path: root/package/gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'package/gnuplot')
-rw-r--r--package/gnuplot/gnuplot.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk
index a68c7ae39..25ba90d8b 100644
--- a/package/gnuplot/gnuplot.mk
+++ b/package/gnuplot/gnuplot.mk
@@ -24,7 +24,7 @@ GNUPLOT_CONF_OPT = --without-x \
--without-latex \
--without-cairo
-ifeq ($(BR2_PACKAGE_GD),y)
+ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
GNUPLOT_CONF_OPT += --with-gd
GNUPLOT_DEPENDENCIES += gd
GNUPLOT_CONF_ENV += \