Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowinterCat committed Sep 27, 2024
1 parent 6843801 commit 1ba4d2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/x/x264/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ package("x264")
import("core.tool.toolchain")
local msvc = package:toolchain("msvc") or toolchain.load("msvc", {plat = package:plat(), arch = package:arch()})
assert(msvc:check(), "msvs not found!")
print("here is msvc on windows")
io.replace("configure", "x264.dll.lib", "x264.lib", {plain = true})
-- keep msys2 envs in front to prevent conflict with possibly installed sh.exe
local envs = os.joinenvs(os.getenvs(), msvc:runenvs())
Expand Down

0 comments on commit 1ba4d2b

Please sign in to comment.