diff options
| author | Arthur LAURENT <[email protected]> | 2023-02-15 18:14:15 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2023-02-15 18:14:15 +0100 |
| commit | 51fad68409dc0ac9c70702397d0d344ca0aaf3f9 (patch) | |
| tree | 55f5e0170e0b84cc3a7acd3e30e8d156541f8bd3 /xmake/rules/c++/modules | |
| parent | 3dff84c9e8fe939d1ed29123797060db56925e26 (diff) | |
fix libc++ link
Diffstat (limited to 'xmake/rules/c++/modules')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua index 3a7ad13b9..06425ff40 100644 --- a/xmake/rules/c++/modules/modules_support/clang.lua +++ b/xmake/rules/c++/modules/modules_support/clang.lua @@ -111,7 +111,8 @@ end -- enable libc++ function _enable_libcxx(target) target:add("cxxflags", "-stdlib=libc++") - target:add("syslinks", "c++") + target:add("ldflags", "-stdlib=libc++") + target:add("shflags", "-stdlib=libc++") end -- load module support for the current target |
