mirror of https://github.com/axmolengine/axmol.git
[android] HelloLua use shared link with other libraries
This commit is contained in:
parent
00568c229a
commit
fbcb3806d9
|
@ -1,3 +1,3 @@
|
|||
# it is needed for ndk-r5
|
||||
APP_STL := stlport_static
|
||||
APP_MODULES := game
|
||||
APP_MODULES := cocos2d cocosdenshion lua game
|
|
@ -30,12 +30,10 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../cocos2dx \
|
|||
# if you build with ndk-r4, comment it
|
||||
# because the new Windows toolchain doesn't support Cygwin's drive
|
||||
# mapping (i.e /cygdrive/c/ instead of C:/)
|
||||
LOCAL_LDLIBS := -llog -lGLESv1_CM -llog -lz \
|
||||
-L$(call host-path, $(LOCAL_PATH)/../../../../cocos2dx/platform/third_party/android/libraries) -lcurl \
|
||||
-lpng \
|
||||
-lxml2 \
|
||||
-ljpeg
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libcocos2d libcocosdenshion liblua
|
||||
LOCAL_LDLIBS := -L$(call host-path, $(LOCAL_PATH)/../../libs/armeabi) \
|
||||
-L$(call host-path, $(LOCAL_PATH)/../../../../cocos2dx/platform/third_party/android/libraries) -lcurl \
|
||||
-lcocos2d \
|
||||
-lcocosdenshion \
|
||||
-llua
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
|
@ -46,4 +46,4 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/ \
|
|||
$(LOCAL_PATH)/../../lua
|
||||
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
Loading…
Reference in New Issue