diff --git a/README.md b/README.md index 74e4f0223..2ad17b305 100755 --- a/README.md +++ b/README.md @@ -86,9 +86,7 @@ If you want to know more, please refer to: |libuv||||libxml2||| |libxml2||||lua||| -Note: Only some packages are shown here. - -If you want to see a complete list of all packages, please see: [PKGLIST.md](https://github.com/xmake-io/xmake-repo/blob/master/PKGLIST.md) +Note: Only some packages are shown here. If you want to see a complete list of all packages, please see: [PKGLIST.md](https://github.com/xmake-io/xmake-repo/blob/master/PKGLIST.md) We also welcome everyone to contribute some packages to our package repository.🙏 diff --git a/packages/z/zlib/xmake.lua b/packages/z/zlib/xmake.lua index c69948b78..b64f7bc0f 100644 --- a/packages/z/zlib/xmake.lua +++ b/packages/z/zlib/xmake.lua @@ -12,7 +12,7 @@ package("zlib") on_install("linux", "macosx", function (package) import("package.tools.autoconf").install(package, {"--static"}) end) - + on_install("windows", function (package) io.gsub("win32/Makefile.msc", "%-MD", "-" .. package:config("vs_runtime")) os.vrun("nmake -f win32\\Makefile.msc zlib.lib")