diff options
| author | ruki <[email protected]> | 2024-02-05 21:39:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-05 21:39:50 +0800 |
| commit | 6d28c80cd3d1820180ace4050d1f021159eba951 (patch) | |
| tree | 61f136da8519e939ff526deba0ac62d2c9622467 | |
| parent | 50cc9f6812367d09dd0db25af6ca8a26992ef598 (diff) | |
Update clang.lua
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 192fd1854..c2bb5a72c 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -239,7 +239,7 @@ function nf_runtime(self, runtime, opt) end if not self:is_plat("android") then -- we will set runtimes in android ndk toolchain maps = maps or {} - local llvm_rootdir = get_config("sdk") or self:get("sdk") + local llvm_rootdir = self:toolchain():sdkdir() if kind == "cxx" then maps["c++_static"] = "-stdlib=libc++" maps["c++_shared"] = "-stdlib=libc++" |
