title: How do I make ndk-build create executable named like a library?
body: <p>I want my native executable to be <a href="https://stackoverflow.com/a/17384650/266720">auto-populated</a> to <code>/data/data/.../lib/</code>. For this it is to be named like <code>lib*.so</code>. But if I try to set this name, Android NDK complains:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  include $(CLEAR_VARS)
  LOCAL_MODULE    := libhello.so
  LOCAL_SRC_FILES := hello.c
  include $(BUILD_EXECUTABLE)
  </code></pre>
  
  
  
  <pre><code>Android NDK: jni/Android.mk:hello.so: LOCAL_MODULE_FILENAME must not contain a file extension
  </code></pre>