package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling
authorRomain Naour <romain.naour@gmail.com>
Sat, 23 Jul 2016 10:19:42 +0000 (12:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 24 Jul 2016 13:03:31 +0000 (15:03 +0200)
commit0ccc5b717e2db1df7c1c98071ffc62a8c0aa0c45
tree354ef87a354732c618a263883d5799f2b65f7224
parent5eecaf354ced9f322707fa07bb75570d209850e3
package/sdl2_ttf: x-includes and x-libraries must be set for cross-compiling

If those flags are not explicitly passed, the sdl2_ttf configure script
will include -I/usr/include and -L/usr/lib in the compile flags, which
are obviously unsafe for cross-compilation.

"checking for X... libraries /usr/lib, headers /usr/include"

Fixes:

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - don't pass an argument to --with-x
 - use --without-x instead of --with-x=no]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sdl2_ttf/sdl2_ttf.mk