From eb06ca6712f073783e3f0c422fd557941665b252 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 19 Jul 2025 14:12:36 +0300 Subject: [PATCH 1/3] libwebp: try to support ios --- packages/l/libwebp/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/l/libwebp/xmake.lua b/packages/l/libwebp/xmake.lua index b859fc21f66..31eeae59c76 100644 --- a/packages/l/libwebp/xmake.lua +++ b/packages/l/libwebp/xmake.lua @@ -56,7 +56,7 @@ package("libwebp") end end) - on_install("linux", "macosx", "windows", "mingw", "bsd", "wasm", function (package) + on_install("linux", "macosx", "windows", "mingw", "bsd", "wasm", "iphoneos", function (package) local configs = {} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) From 8220e071f63b3f9089aa902a4d9e529993aeeb01 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 19 Jul 2025 15:16:53 +0300 Subject: [PATCH 2/3] try to support NDK --- packages/l/libwebp/xmake.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/l/libwebp/xmake.lua b/packages/l/libwebp/xmake.lua index 31eeae59c76..e0bb8b5b1a2 100644 --- a/packages/l/libwebp/xmake.lua +++ b/packages/l/libwebp/xmake.lua @@ -56,9 +56,9 @@ package("libwebp") end end) - on_install("linux", "macosx", "windows", "mingw", "bsd", "wasm", "iphoneos", function (package) + on_install("linux", "macosx", "windows", "mingw", "bsd", "wasm", "iphoneos", "android", function (package) local configs = {} - table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) + table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) for name, enabled in pairs(package:configs()) do From d0e422811ab336c9049d981442a5ae76c4bba516 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 19 Jul 2025 17:52:10 +0300 Subject: [PATCH 3/3] try cross --- packages/l/libwebp/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/l/libwebp/xmake.lua b/packages/l/libwebp/xmake.lua index e0bb8b5b1a2..85444a210f5 100644 --- a/packages/l/libwebp/xmake.lua +++ b/packages/l/libwebp/xmake.lua @@ -56,7 +56,7 @@ package("libwebp") end end) - on_install("linux", "macosx", "windows", "mingw", "bsd", "wasm", "iphoneos", "android", function (package) + on_install(function (package) local configs = {} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))