Skip to content

Commit 3fbdf63

Browse files
committed
Update enable-webp.patch
1 parent 23d8e77 commit 3fbdf63

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pythonforandroid/recipes/sdl3_image/enable-webp.patch

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ index ad6d0f40..ac77a18c 100644
99
-SUPPORT_WEBP ?= false
1010
-SUPPORT_SAVE_WEBP ?= true
1111
+SUPPORT_WEBP := true
12-
+SUPPORT_SAVE_WEBP := false
12+
+SUPPORT_SAVE_WEBP := true
1313
WEBP_LIBRARY_PATH := external/libwebp
1414

15+
@@ -160,8 +160,8 @@ endif
1516

17+
ifeq ($(SUPPORT_WEBP),true)
18+
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(WEBP_LIBRARY_PATH)/src
19+
LOCAL_CFLAGS += -DLOAD_WEBP
20+
- LOCAL_STATIC_LIBRARIES += webpdemux
21+
+ LOCAL_STATIC_LIBRARIES += webpmux webpdemux
22+
LOCAL_STATIC_LIBRARIES += webp
23+
ifeq ($(SUPPORT_SAVE_WEBP),true)

0 commit comments

Comments
 (0)