|
@@ -8,15 +8,15 @@ package("mbedtls")
|
|
|
add_versions("2.13.0", "6e747350bc13e8ff51799daa50f74230c6cd8e15977da55dd59f57b23dcf70a6")
|
|
|
add_versions("2.7.6", "e527d828ab82650102ca8031302e5d4bc68ea887b2d84e43d3da2a80a9e5a2c8")
|
|
|
|
|
|
- if is_host("windows") then
|
|
|
+ if is_host("windows") and is_arch("x86") then
|
|
|
add_deps("cmake")
|
|
|
end
|
|
|
|
|
|
- on_build("windows", function (package)
|
|
|
+ on_build("windows|x86", function (package)
|
|
|
import("package.builder.cmake").build(package)
|
|
|
end)
|
|
|
|
|
|
- on_install("windows", function (package)
|
|
|
+ on_install("windows|x86", function (package)
|
|
|
import("package.builder.cmake").install(package)
|
|
|
end)
|
|
|
|