Skip to content

Commit

Permalink
fix syslinks
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Sep 25, 2024
1 parent 48146e3 commit c610784
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/p/peloader/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ package("peloader")

add_deps("libpeconv")

on_install("windows", "mingw", "msys", function (package)
on_install("@windows", "@mingw", "@msys", function (package)
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")
add_requires("libpeconv")
target("PELoader")
set_kind("binary")
add_files("PELoader/PELoader/*.cpp")
add_headerfiles("PELoader/PELoader/*.h")
add_syslinks("ktmw32")
add_packages("libpeconv")
]])
import("package.tools.xmake").install(package)
Expand Down

0 comments on commit c610784

Please sign in to comment.