diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-11-25 15:54:46 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-25 15:57:11 +0100 |
commit | ccec35e342a38537fba746a483eec063b5151d3e (patch) | |
tree | 8cd17a41dcf905f993ae927009f742d1c9926d75 | |
parent | 46c644310c87e1851eb1420cae7c07f3a1a347ed (diff) | |
download | buildroot-ccec35e342a38537fba746a483eec063b5151d3e.tar.gz buildroot-ccec35e342a38537fba746a483eec063b5151d3e.zip |
gd: use pkg-config to figure out png linker flags
So gdlib-config --libs returns the full dependency chain (-lpng16 -lz -m)
when linking statically.
Fixes http://autobuild.buildroot.net/results/dac/dac3eb950c7c27b2f09f001f9db9936f897721f9/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/gd/gd.mk | 2 |
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 |