I copied libsonivox.so into /platforms/android-14/arch-arm/usr/lib/, my android.mk file is:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := midi
LOCAL_SRC_FILES := midi.c
LOCAL_LDLIBS += -lsonivox
include $(BUILD_SHARED_LIBRARY)
but when I run ndk-build I get this error:
/home/sebastian/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsonivox
Any idea what I'm doing wrong? Thanks!
PS: this might look like a dup post, but I read every other post related to this topic, none of them helped