2
0
Эх сурвалжийг харах

improve runtime link for boost

ruki 6 жил өмнө
parent
commit
5ac17a2ea2

+ 2 - 0
packages/b/boost/xmake.lua

@@ -110,6 +110,8 @@ package("boost")
             local vs_runtime = package:config("vs_runtime")
             local vs_runtime = package:config("vs_runtime")
             if vs_runtime and vs_runtime:startswith("MT") then
             if vs_runtime and vs_runtime:startswith("MT") then
                 table.insert(argv, "runtime-link=static")
                 table.insert(argv, "runtime-link=static")
+            else
+                table.insert(argv, "runtime-link=shared")
             end
             end
         end
         end
         if is_host("windows") then
         if is_host("windows") then