package/netsurf: make sure host libpng can be found
authorFrancois Perrad <fperrad@gmail.com>
Thu, 13 Dec 2018 18:54:33 +0000 (19:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 17 Dec 2018 08:19:42 +0000 (09:19 +0100)
commit9b0ac875385e3bcb052fc2f376f45fa61e102673
treeba81e977763445d0ba544b9480fcc5555183ca6a
parenta729325e12d60951dd576ef862f71446541a2c55
package/netsurf: make sure host libpng can be found

Commit 42c8f9f6b46e196a7c337c683a7df5ae6bd421b2 ("package/netsurf: add
dependency on host-libpng for sdl") ensured host-libpng was built
prior to netsurf when the SDL backend is selected. However, this is
not sufficient for the netsurf build system to find libpng on the
host, we need to help by providing the right HOST_CFLAGS and
HOST_LDFLAGS.

Fixes:

  http://autobuild.buildroot.net/results/d0bbd563fe5c9463316b2ba0d7ef5553be0563bc/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: rewrite commit message.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/netsurf/netsurf.mk