gnuplot: gd support needs libpng
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 3 Apr 2013 01:04:23 +0000 (01:04 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 3 Apr 2013 20:42:38 +0000 (22:42 +0200)
GD support in gnuplot needs PNG support in GD.
So make sure we are getting the full package to enable it, fixes:
http://autobuild.buildroot.net/results/678bd3babfcb3535e3a9ed1e111f741c3d3101f3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gnuplot/gnuplot.mk

index a68c7ae391c9e83b37099991b832625d0eedc2d5..25ba90d8b59b710d3c808b4498d9dd317d37cb7e 100644 (file)
@@ -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 += \