I'm trying to compile librdkafka for Android.
The pthreads library is built into Android's libc (bionic). Hence, when you specify -lpthread to the linker, it fails.
I need to know whether a mechanism to skip or override the result of a specific library check is available.