diff --git a/extensions/Android.mk b/extensions/Android.mk index e359e5a60a..378ef9264f 100644 --- a/extensions/Android.mk +++ b/extensions/Android.mk @@ -59,6 +59,9 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocos_curl_static LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static +LOCAL_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION +LOCAL_EXPORT_CFLAGS += -DCC_ENABLE_CHIPMUNK_INTEGRATION + LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \ $(LOCAL_PATH)/CCBReader \ $(LOCAL_PATH)/GUI/CCControlExtension \ diff --git a/scripting/lua/luajit/Android.mk b/scripting/lua/luajit/Android.mk index bfd29a3a54..4fa444987f 100644 --- a/scripting/lua/luajit/Android.mk +++ b/scripting/lua/luajit/Android.mk @@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := luajit_static -LOCAL_MODULE_FILENAME := luajit_static +LOCAL_MODULE_FILENAME := libluajit LOCAL_SRC_FILES := ./android/$(TARGET_ARCH_ABI)/libluajit.a LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include include $(PREBUILT_STATIC_LIBRARY)