mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
Android.mk: add ENABLE_SHARED flag
builds libwebp.so instead of libwebp.a $ ndk-build ENABLE_SHARED=1 Change-Id: Ide05e3be4f9848852e6d7e9d99abe11344419241
This commit is contained in:
parent
6e93317f5b
commit
73d8fca01e
@ -93,7 +93,11 @@ LOCAL_STATIC_LIBRARIES := cpufeatures
|
||||
|
||||
LOCAL_MODULE := webp
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
ifeq ($(ENABLE_SHARED),1)
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
else
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user