libzip: Add Advapi32 syslink (#1462)

* libzip: Add Advapi32 syslink

* libzip: Links advapi32 on MinGW too
pull/1465/head
Jérôme Leclercq 2 years ago committed by GitHub
parent 2e68ee7605
commit 55f4c2debc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/l/libzip/xmake.lua

@ -19,6 +19,10 @@ package("libzip")
add_configs(config, {description = "Enable " .. config .. " support.", default = false, type = "boolean"})
end
if is_plat("windows", "mingw") then
add_syslinks("Advapi32")
end
on_load("windows", "macosx", "linux", function (package)
for config, dep in pairs(configdeps) do
if package:config(config) then

Loading…
Cancel
Save