Skip to content

Commit 19006ef

Browse files
authored
libwebp: try to support iOS/NDK (#7687)
* libwebp: try to support ios * try to support NDK * try cross
1 parent ddcf1a3 commit 19006ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/l/libwebp/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ package("libwebp")
5656
end
5757
end)
5858

59-
on_install("linux", "macosx", "windows", "mingw", "bsd", "wasm", function (package)
59+
on_install(function (package)
6060
local configs = {}
61-
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
61+
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
6262
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
6363

6464
for name, enabled in pairs(package:configs()) do

0 commit comments

Comments
 (0)