improve zlib

pull/13/head
ruki 6 years ago
parent 45e5c479de
commit c6d49b0f7b
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 4
      packages/z/zlib/xmake.lua

@ -20,3 +20,7 @@ package("zlib")
os.cp("zlib.lib", package:installdir("lib"))
os.cp("*.h", package:installdir("include"))
end)
on_test(function (package)
assert(import("lib.detect.has_cfuncs")("inflate", {configs = package:fetch(), includes = "zlib.h"}))
end)

Loading…
Cancel
Save