diff options
| author | ruki <[email protected]> | 2022-11-05 00:39:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-05 00:39:52 +0800 |
| commit | 0fdefd2f7280db640ed09df068e09f98649ce7ec (patch) | |
| tree | c3158d16058230406e39aa82bab3950b6f836ef3 /xmake/rules/c++/modules/modules_support | |
| parent | 181a337b4092af6691d8e2e135d21dae4a03556a (diff) | |
fix clang c++
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua index 0727cb6d5..a3cf06e79 100644 --- a/xmake/rules/c++/modules/modules_support/clang.lua +++ b/xmake/rules/c++/modules/modules_support/clang.lua @@ -97,7 +97,7 @@ function load(target) -- on ubuntu: -- sudo apt install libc++-dev libc++abi-15-dev -- - target:data_set("cxx.modules.use_libc++", table.contains(target:get("cxxflags"), "-stdlib=libc++")) + target:data_set("cxx.modules.use_libc++", table.contains(target:get("cxxflags"), "-stdlib=libc++", "clang::-stdlib=libc++")) if target:data("cxx.modules.use_libc++") then target:add("syslinks", "c++") end |
