From 4cfb9a73ff893bec8f01b85809fb39ef2dabf403 Mon Sep 17 00:00:00 2001
From: xpxz <97490782+heheda123123@users.noreply.github.com>
Date: Tue, 18 Apr 2023 22:54:50 +0800
Subject: [PATCH] update mysql vs_runtime (#2001)

the lib is build with MD
---
 packages/m/mysql/xmake.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/m/mysql/xmake.lua b/packages/m/mysql/xmake.lua
index 6d4e2d302..536b4891d 100644
--- a/packages/m/mysql/xmake.lua
+++ b/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")