title: Problem linking libjpeg on Android
body: <p>I'm having a problem linking to libjpeg from the Android source. I have </p>
  
  <pre><code>LOCAL_SHARED_LIBRARIES := libjpeg
  </code></pre>
  
  <p>and</p>
  
  <pre><code>LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../../froyo/external/jpeg
  </code></pre>
  
  <p>but I still get undefined references to anything from that library. I've tried changing "LOCAL_SHARED_LIBRARIES" to "LOCAL_STATIC_LIBRARIES" but that did nothing. Any help is greatly appreciated.</p>