How can I build an executable with Android NDK
(include $(BUILD_EXECUTABLE)
) but with file extension.
Here is my Android.mk
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ls
LOCAL_SRC_FILES := ls.c
include $(BUILD_EXECUTABLE)
It works as expected, but file is without extension. If library doesn't have .so
extension it doesn't get packed into the apk
.