Skip to content

Commit

Permalink
fix android patch
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 27, 2024
1 parent 48f0cc8 commit d4bdc0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/x/x264/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ package("x264")
if package:is_plat("android") and package:is_arch("armeabi-v7a") then
local ndk_sdkver = package:toolchain("ndk"):config("ndk_sdkver")
if ndk_sdkver and tonumber(ndk_sdkver) < 24 then
io.replace("configure", "define fseek fseeko", "", {plain = true})
io.replace("configure", "define ftell ftello", "", {plain = true})
io.replace("configure", "define fseek fseeko", "# ", {plain = true})
io.replace("configure", "define ftell ftello", "# ", {plain = true})
end
end

Expand Down

0 comments on commit d4bdc0c

Please sign in to comment.