Skip to content

Commit

Permalink
try to fix mingw & cross
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 27, 2024
1 parent d4bdc0c commit b8cdc40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/x/x264/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ package("x264")
local ndk_bindir = package:toolchain("ndk"):config("bindir")
ndk_bindir = path.unix(assert(ndk_bindir)) .. "/llvm-"
table.insert(configs, "--cross-prefix=" .. ndk_bindir)
elseif package:is_plat("mingw", "msys", "cygwin") then
table.insert(configs, "--host_os=" .. package:plat())
end

for name, value in pairs(package:configs()) do
Expand Down

0 comments on commit b8cdc40

Please sign in to comment.