WARNING: …/Android.mk: non-system libraries in linker flags
I'm getting this warning while running $ANDROID_NDK_ROOT/ndk-build . The Android.mk is below. $ $ANDROID_NDK_ROOT/ndk-build WARNING:/Users/jwalton/Android-CryptoPP/jni/Android.mk:prng: non-system libraries in linker flags: -lcryptopp -lstlport_shared This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the current module ... However, when I follow the instructions and remove -lcryptopp -lstlport_shared from LOCAL_LDLIBS , then I get link errors related to symbols from libstlport_shared.so . A sample