mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
dsp/cpu.c: Android: fix crash on non-neon arm builds
add proper cpu-detection for Android targets Fixes issue #118 (and is a better solution for #117). based on patch by pepijn vaneeckhoudt Change-Id: I6b00ea6d51ca658ccf6a3d55b87b99c01c6805be
This commit is contained in:
@ -60,7 +60,10 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
|
||||
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
||||
LOCAL_ARM_NEON := true
|
||||
endif
|
||||
LOCAL_STATIC_LIBRARIES := cpufeatures
|
||||
|
||||
LOCAL_MODULE:= webp
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
$(call import-module,android/cpufeatures)
|
||||
|
Reference in New Issue
Block a user