limit mbedtls link order

pull/3/head
ruki 6 years ago
parent 77be6ad036
commit c7342a034a
  1. 2
      packages/m/mbedtls/xmake.lua

@ -15,6 +15,7 @@ package("mbedtls")
if is_plat("windows") and winos.version():gt("winxp") then
on_install("windows", function (package)
import("package.tools.cmake").install(package)
package:addvar("links", "mbedcrypto", "mbedx509", "mbedtls")
end)
end
@ -22,5 +23,6 @@ package("mbedtls")
io.gsub("./Makefile", "DESTDIR=/usr/local", "DESTDIR=" .. package:installdir())
os.vrun("make")
os.vrun("make install")
package:addvar("links", "mbedcrypto", "mbedx509", "mbedtls")
end)

Loading…
Cancel
Save