summaryrefslogtreecommitdiff
path: root/xmake/toolchains
diff options
context:
space:
mode:
authorruki <[email protected]>2024-03-23 00:47:58 +0800
committerruki <[email protected]>2024-03-23 00:47:58 +0800
commit6d1b3bf2fbf932409d99bb69b4a1a0ff1115f39f (patch)
tree592f98a6ec70572bf1b53c1b183163cf8087732d /xmake/toolchains
parentfe6ad08f154298b105f82464f8d1c2d5a35241cc (diff)
add stdc++_static for gcc
Diffstat (limited to 'xmake/toolchains')
-rw-r--r--xmake/toolchains/mingw/xmake.lua13
1 files changed, 2 insertions, 11 deletions
diff --git a/xmake/toolchains/mingw/xmake.lua b/xmake/toolchains/mingw/xmake.lua
index b2d5977fd..03b149bd4 100644
--- a/xmake/toolchains/mingw/xmake.lua
+++ b/xmake/toolchains/mingw/xmake.lua
@@ -18,23 +18,14 @@
-- @file xmake.lua
--
--- define toolchain
toolchain("mingw")
-
- -- set homepage
+ set_kind("standalone")
set_homepage("http://www.mingw.org/")
set_description("Minimalist GNU for Windows")
+ set_runtimes("stdc++_static", "stdc++_shared")
- -- mark as standalone toolchain
- set_kind("standalone")
-
- -- check toolchain
on_check("check")
-
- -- on load
on_load(function (toolchain)
-
- -- imports
import("core.project.config")
-- get cross