Closed 1bsyl closed 2 months ago
You want to do the same for jpg too, like:
diff --git a/Android.mk b/Android.mk
index f63afcd..d0a78f9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -113,7 +113,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)
And these should go into SDL2 branch, too.
thanks @sezero done !
Just cherry picked to SDL2 branch too.
Android: add path to "pnglibconf.h" for compilation with libpng