title: NDK error: undefined reference with android.mk
body: <p>i m trying to use a library from <a href="https://ccrma.stanford.edu/software/stk/" rel="nofollow">https://ccrma.stanford.edu/software/stk/</a> in my native code
  and during a compilation i got  error: undefined reference (bad link of my extern library)
  what s wrong with it ?</p>
  
  <pre><code>    LOCAL_PATH := $(call my-dir)
  include $(call all-subdir-makefiles)
  include $(CLEAR_VARS)
  LOCAL_MODULE    := libstk 
  LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libstk.a
  #LOCAL_EXPORT_C_INCLUDES :=$(LOCAL_PATH)/stk
  include $(PREBUILT_STATIC_LIBRARY)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE    := native-audio-jni
  
  #LOCAL_SRC_FILES := native-audio-jni.cpp
  LOCAL_SRC_FILES := \
  native-audio-jni.cpp\
  sqlite3.c\
  mysqlite.h 
  
  LOCAL_STATIC_LIBRARIES := libstk
  # for native audio
  LOCAL_LDLIBS    += -lOpenSLES
  # for logging
  LOCAL_LDLIBS    += -llog
  # for native asset manager
  LOCAL_LDLIBS    += -landroid
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p>Thank you</p>