package/sdl2_net: add missing host-pkgconf dependency
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 12 Dec 2018 08:52:12 +0000 (09:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 13 Dec 2018 20:17:16 +0000 (21:17 +0100)
commitc2a1bcb1b3e56c16a8433a516646d4eb8581fd91
tree298530c428017d1e1fbb3e42897526abfaa86247
parentbadc3c9f04b01c065a8cc5a07b57ec43c96b4c5e
package/sdl2_net: add missing host-pkgconf dependency

The sdl2_net configure script uses pkg-config to finx sdl2. If it
doesn't find pkg-config, it tries to locate sdl2-config, and defaults
to /usr/bin/sdl2-config, which causes the build to fail with:

arm-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/SDL2'

Fix this by adding host-pkgconf to the dependencies of sdl2_net. We
could have added the right autoconf cache variable to tell the
configure script where sdl2-config is located, but since pkg-config is
tried first, let's use that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sdl2_net/sdl2_net.mk