--- SDL2_image-2.0.4/Android.mk.orig 2018-10-31 15:58:52.000000000 +0100 +++ SDL2_image-2.0.4/Android.mk 2019-02-07 21:57:29.552365123 +0100 @@ -61,6 +61,8 @@ LOCAL_SRC_FILES := \ LOCAL_CFLAGS := -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM \ -DLOAD_SVG -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV +LOCAL_CFLAGS += $(EXTRA_CFLAGS) + LOCAL_LDLIBS := LOCAL_STATIC_LIBRARIES := LOCAL_SHARED_LIBRARIES := SDL2