From: Jehan Date: Tue, 4 Jul 2017 12:05:34 +0000 (+0200) Subject: configure: do not link with pthread on Android. X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~139^2^2~244 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c02af82;p=babl.git configure: do not link with pthread on Android. It turns out Bionic (Android C library) has its own implementation of pthread. With this minor change, babl is fully cross-compilable for Android. --- diff --git a/configure.ac b/configure.ac index 75c4c87..fd18e3c 100644 --- a/configure.ac +++ b/configure.ac @@ -264,6 +264,12 @@ case "$target_or_host" in MATH_LIB= THREAD_LIB= ;; + *-*-android*) + os_win32=no + PATH_SEP=':' + DIR_SEP='/' + THREAD_LIB= + ;; *) os_win32=no PATH_SEP=':'