Android.mk: add a flag to control shared/static lib
ndk-build ENABLE_SHARED=1 ... Change-Id: Idd64804b165d0d4bbfb0b242d6c4eee5e828dab4
This commit is contained in:
parent
59681be0a0
commit
b815f3a977
@ -184,7 +184,11 @@ clean:
|
||||
@$(RM) -r $(ASM_CNV_PATH)
|
||||
@$(RM) $(CLEAN-OBJS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
ifeq ($(ENABLE_SHARED),1)
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
else
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes)
|
||||
$(call import-module,cpufeatures)
|
||||
|
Loading…
Reference in New Issue
Block a user