Skip to content

Commit aab6595

Browse files
star-hengxingstd-microblock
authored andcommitted
build: support package
1 parent b095c0b commit aab6595

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

xmake.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ target("blook")
1919
add_files("src/platform/linux/*.cpp")
2020
end
2121
add_includedirs("include", {public = true})
22+
add_headerfiles("include/(**.h)")
2223

24+
if is_plat("windows") then
25+
add_syslinks("advapi32")
26+
end
2327
add_packages("zasm", {public = true})
2428

2529
target("blook-dll-hijack-codegen")
@@ -37,7 +41,7 @@ target("blook-test")
3741
end
3842

3943
if is_plat("windows") then
40-
add_syslinks("user32", "advapi32")
44+
add_syslinks("user32")
4145
end
4246
add_deps("blook")
4347

0 commit comments

Comments
 (0)