[Buildroot] [PATCH v3] sdl: overwrite libpth autodetection

Peter Korsgaard peter at korsgaard.com
Thu Nov 19 22:05:12 UTC 2015


>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:

 > The sdl libpth autodetection gets confused in case a host
 > version is present. Overwrite libpth autodection for the
 > target build dependent on BR2_PACKAGE_LIBPTHSEM_COMPAT and
 > use pth-config from staging directory.

 > Fixes [1]:

 > checking for pthreads... no
 > checking for pth-config... /usr/bin/pth-config
 > checking pth... yes
 > [...]
 > ./src/SDL.c:33:17: fatal error: pth.h: No such file or directory
 >  #include <pth.h>

 > [1] http://autobuild.buildroot.net/results/733/73330e51b3c099d179004db0b9522ac13358b8f7

 > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
 > ---
 > Changes v2 -> v3:
 >   - simplify libpth enable logic, check on BR2_PACKAGE_LIBPTHSEM_COMPAT is enough
 >    (suggested by Baruch Siach)

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list