[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool automake android pthread

From: greno
Subject: libtool automake android pthread
Date: Tue, 3 Apr 2012 18:16:13 +0000 (UTC)
User-agent: Loom/3.14 (

When I try to build existing GNU toolchain projects 
using the Android and NDK sometimes I run into 
problems with pthread.  I get errors like this:
../../arm-linux-androideabi/bin/ld: cannot find -lpthread

Is there a switch to libtool to would ignore -lpthread 
if it is found since Android already has pthread?   

Or is there some conditional that could be added to or automake that would test for Android 
and then we could use that conditional to 
conditionally set -lpthread in LD_FLAGS?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]