Solve the error when building simulator for android.

This commit is contained in:
Bin Zhang 2015-06-30 16:45:13 +08:00
parent 9b45a9ee6f
commit bb77101f0b
3 changed files with 5 additions and 0 deletions

0
cocos/scripting/js-bindings/proj.android/Android.mk Executable file → Normal file
View File

View File

@ -31,6 +31,10 @@ LOCAL_MODULE := cocos2d_lua_static
LOCAL_MODULE_FILENAME := libluacocos2d
ifeq ($(COCOS_SIMULATOR_BUILD),1)
LOCAL_ARM_MODE := arm
endif
LOCAL_SRC_FILES := ../manual/CCLuaBridge.cpp \
../manual/CCLuaEngine.cpp \
../manual/CCLuaStack.cpp \

View File

@ -14,3 +14,4 @@ else
endif
COCOS_SIMULATOR_BUILD := 1
USE_ARM_MODE := 1