Make it build on linux
This commit is contained in:
parent
72695d68c2
commit
2d44701f39
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./jni/Application.mk
|
|
@ -3,14 +3,13 @@ MAIN_LOCAL_PATH := $(call my-dir)
|
|||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := libpsmkdc_jni
|
||||
|
||||
LOCAL_CFLAGS := -Wno-error=format-security -fpermissive
|
||||
LOCAL_CFLAGS += -fno-rtti -fno-exceptions -fPIC
|
||||
LOCAL_CFLAGS := -Wno-error=format-security
|
||||
LOCAL_CFLAGS += -fno-exceptions -fPIC
|
||||
|
||||
LOCAL_C_INCLUDES += $(MAIN_LOCAL_PATH)
|
||||
|
||||
LOCAL_SRC_FILES := psmkdc_jni.c
|
||||
|
||||
|
||||
LOCAL_LDLIBS := -llog -landroid -lc
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
APP_ABI := armeabi-v7a
|
||||
APP_ABI := armeabi armeabi-v7a
|
||||
APP_OPTIM := release
|
||||
APP_PLATFORM := android-10
|
||||
APP_STL := system
|
||||
APP_STL := system
|
||||
|
|
Loading…
Reference in New Issue