浏览代码

update mysql vs_runtime (#2001)

the lib is build with MD
xpxz 2 年之前
父节点
当前提交
4cfb9a73ff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/m/mysql/xmake.lua

+ 1 - 0
packages/m/mysql/xmake.lua

@@ -4,6 +4,7 @@ package("mysql")
     set_description("Open source relational database management system.")
 
     if is_plat("windows") then
+        add_configs("vs_runtime", {description = "Set vs compiler runtime.", default = "MD", readonly = true})
         if is_arch("x86") then
             set_urls("https://downloads.mysql.com/archives/get/p/19/file/mysql-connector-c-$(version)-win32.zip")
             add_versions("6.1.11", "a32487407bc0c4e217d8839892333fb0cb39153194d2788f226e9c5b9abdd928")