diff --git a/Android.mk b/Android.mk index bf2b1810..29793f74 100644 --- a/Android.mk +++ b/Android.mk @@ -112,7 +112,8 @@ ifeq ($(SUPPORT_AVIF),true) endif ifeq ($(SUPPORT_JPG),true) - LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(JPG_LIBRARY_PATH) + LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(JPG_LIBRARY_PATH) \ + $(LOCAL_PATH)/$(JPG_LIBRARY_PATH)/android LOCAL_CFLAGS += -DLOAD_JPG LOCAL_STATIC_LIBRARIES += jpeg ifeq ($(SUPPORT_SAVE_JPG),true) @@ -130,7 +131,8 @@ ifeq ($(SUPPORT_JXL),true) endif ifeq ($(SUPPORT_PNG),true) - LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(PNG_LIBRARY_PATH) + LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(PNG_LIBRARY_PATH) \ + $(LOCAL_PATH)/$(PNG_LIBRARY_PATH)/android LOCAL_CFLAGS += -DLOAD_PNG LOCAL_STATIC_LIBRARIES += png LOCAL_LDLIBS += -lz