title: Linking a 3rd party static library into another static library
body: <p>I'm trying to create a static library that will link to a 3rd party static lib. 
  Currently the error I'm receiving is </p>
  
  <blockquote>
    <p>No rule to make target `.../libqqrcLib.a', needed by libqqrcAPI.a  </p>
  </blockquote>
  
  <p><strong>This was solved by updating to a newer version of the NDK that supports working with prebuilt libraries (5b)</strong></p>
  
  <p>Here is the Android.mk I'm using:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  LOCAL_MODULE    := qqrcLib  
  LOCAL_SRC_FILES := libqqrc.a
  LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/coreLib/include
  
  include $(PREBUILT_STATIC_LIBRARY)
  
  
  include $(CLEAR_VARS)
  
  LOCAL_CPP_EXTENSION := cpp
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/qqrc/ 
  LOCAL_MODULE    := qqrcAPI
  LOCAL_SRC_FILES := qqrcEngineImpl.cpp 
  LOCAL_STATIC_LIBRARIES := qqrcLib
  
  include $(BUILD_STATIC_LIBRARY)
  </code></pre>
  
  <p>Basically I have a qqrc.a static library that I've declared a module for it "qqrcLib".<br>
  I want to be able to link it to a second module called "qqrcAPI" (It is being referenced in qqrcEngineImpl.cpp)<br>
  It is important to have it in this 2 libraries format since the libqqrc.a is compiled using a different approach. </p>
  
  <p>Also imporant to state that I defined an Application.mk that looks like this:</p>
  
  <pre><code>APP_MODULES      := qqrcAPI 
  APP_PROJECT_PATH := $(call my-dir)./..
  </code></pre>
  
  <p>In order to be able to create a static library. (otherwise I got no output..)</p>
  
  <p><strong>The current issue</strong> for me is that even though I have a separate module for the prebuilt library and it seems to compile, I can't produce a combined static library that will hold the prebuilt lib in it.<br>
  I have in obj\local\armeabi directory the prebuilt library (qqrcLib.a) and the new formed static library (qqrcAPI.a), but it seems that it wasn't linked because the new module is too small...</p>
  
  <p>What am I doing wrong?</p>
  
  <p>help? :)</p>