title: OpenCV Android NDK: non-system libraries in linker error
body: <p>This is the error I get, I followed different guides to install and run NDK but just couldn't manage it. Always a problem</p>
  
  <pre><code>20:58:58 **** Auto Build of configuration Default for project OpenCV Sample - face-detection ****
  "C:\\Users\\Gok2\\workspace\\android-ndk-r9b\\ndk-build.cmd" 
  Android NDK: WARNING:jni/Android.mk:detection_based_tracker: non-system libraries in linker flags: -lopencv_java    
  Android NDK:     This is likely to result in incorrect builds. Try using     LOCAL_STATIC_LIBRARIES    
  Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
  Android NDK:     current module    
  [armeabi-v7a] Install        : libdetection_based_tracker.so =&gt; libs/armeabi-v7a/libdetection_based_tracker.so
  </code></pre>