title: Android NDK build error . do not found libcutils.so
body: <p>i want to build the expolid code ( <a href="https://github.com/revolutionary/zergRush/blob/master/zergRush.c" rel="nofollow">https://github.com/revolutionary/zergRush/blob/master/zergRush.c</a>)</p>
  
  <p>Android.mk </p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  include $(CLEAR_VARS)
  
  LOCAL_MODULE := zergRush
  LOCAL_SRC_FILES := zergRush.c
  base :=E:\0.Android\system\core
  #//base path include the android source code. but i forget the version .maybe 4.0.1
  LOCAL_C_INCLUDES :=$(base)/include/
  LOCAL_LDLIBS    := -llog -lcutils
  LOCAL_STATIC_LIBRARIES := libcutils libc
  LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
  LOCAL_MODULE_TAGS := eng debug
  LOCAL_FORCE_STATIC_EXECUTABLE := true
  
  include $(BUILD_EXECUTABLE)
  </code></pre>
  
  <p>this computer has installed ndk-r9b.<br>
  libcutils.so ： D:\android-ndk-r9b\platforms\android-19\arch-arm\usr\lib\rs<br>
  so i copy it to D:\android-ndk-r9b\platforms\android-19\arch-arm\usr\lib. </p>
  
  <p>default.properties   project.properties set target=19</p>
  
  <p>but ndk-build failed . </p>
  
  <pre><code>D:\test\roottest\jni&gt;ndk-build
  [armeabi] Compile thumb  : zergRush &lt;= zergRush.c
  [armeabi] Executable     : zergRush
  D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6
  /../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lcutils
  D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6
  /../../../../arm-linux-androideabi/bin/ld.exe: D:/test/roottest//obj/local/armeabi/objs/zergRush/zergRush.o: in function
   do_fault:D:/test/roottest//jni/zergRush.c:226: error: undefined reference to 'socket_local_client'
  D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6
  /../../../../arm-linux-androideabi/bin/ld.exe: D:/test/roottest//obj/local/armeabi/objs/zergRush/zergRush.o: in function
   main:D:/test/roottest//jni/zergRush.c:488: error: undefined reference to 'property_set'
  D:/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6
  /../../../../arm-linux-androideabi/bin/ld.exe: D:/test/roottest//obj/local/armeabi/objs/zergRush/zergRush.o: in function
   main:D:/test/roottest//jni/zergRush.c:619: error: undefined reference to 'property_get'
  collect2: ld returned 1 exit status
  make.exe: *** [D:/test/roottest//obj/local/armeabi/zergRush] Error 1
  </code></pre>
  
  <p>i want to know how to include the use-defined libraray path  or  include libcutils.so and i can make the program . thanks.</p>