summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/load_macosx.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-22 22:44:25 +0800
committerruki <[email protected]>2024-01-25 12:09:58 +0800
commit9f76e77a010c835f17a8a4ed65254df84e38d7e7 (patch)
treed236177e6d19332da968f81fdcf955ac600ba52c /xmake/toolchains/xcode/load_macosx.lua
parenta74bb4c14a8eda9c70062c1c6f592f2474672b71 (diff)
remove stdc++ for apple os
Diffstat (limited to 'xmake/toolchains/xcode/load_macosx.lua')
-rw-r--r--xmake/toolchains/xcode/load_macosx.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/toolchains/xcode/load_macosx.lua b/xmake/toolchains/xcode/load_macosx.lua
index 039152067..071f8ec6d 100644
--- a/xmake/toolchains/xcode/load_macosx.lua
+++ b/xmake/toolchains/xcode/load_macosx.lua
@@ -18,10 +18,6 @@
-- @file load_macosx.lua
--
--- imports
-import("core.project.config")
-
--- main entry
function main(toolchain)
local arch = toolchain:arch()
@@ -75,8 +71,6 @@ function main(toolchain)
end
-- init flags for c/c++
- toolchain:add("ldflags", "-stdlib=libc++")
- toolchain:add("shflags", "-stdlib=libc++")
toolchain:add("ldflags", "-lz")
toolchain:add("shflags", "-lz")