gd: use pkg-config to figure out png linker flags
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Nov 2014 14:54:46 +0000 (15:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Nov 2014 14:57:11 +0000 (15:57 +0100)
commitccec35e342a38537fba746a483eec063b5151d3e
tree8cd17a41dcf905f993ae927009f742d1c9926d75
parent46c644310c87e1851eb1420cae7c07f3a1a347ed
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>
package/gd/gd.mk