mint: fix link (#2330)

* mint: fix link

* mint: update test
pull/2332/head
Bai Miao 1 year ago committed by GitHub
parent b623fd5c48
commit 81e48d23c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/m/mint/xmake.lua

@ -11,6 +11,8 @@ package("mint")
add_configs("namespace", {description = "use separate namespace", default = false, type = "boolean"})
add_syslinks("ntdll")
on_load(function (package)
if package:config("namespace") then
package:add("defines", "MINT_USE_SEPARATE_NAMESPACE")
@ -22,5 +24,5 @@ package("mint")
end)
on_test(function (package)
assert(package:has_cincludes("MINT.h"))
assert(package:has_cfuncs("NtCreateProcess", {includes = "MINT.h"}))
end)

Loading…
Cancel
Save