diff options
| author | Arthur LAURENT <[email protected]> | 2024-03-06 20:26:04 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-03-06 20:26:04 +0100 |
| commit | 5cdb2e09ea9a9babf430aac01397665151f9518c (patch) | |
| tree | b87826011cb324d3b02d15488447852b94ef4e29 | |
| parent | fa9ee3e5fb4a612d2314a67ab396d0c1e85196c4 (diff) | |
use absolute path for llvm runtime libdir
| -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 04c261879..5cd32ce04 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -280,7 +280,7 @@ function nf_runtime(self, runtime, opt) llvm_rootdir = _get_llvm_rootdir(self) end if llvm_rootdir then - local libdir = path.join(llvm_rootdir, "lib") + local libdir = path.absolute(path.join(llvm_rootdir, "lib")) maps["c++_static"] = table.join(maps["c++_static"], "-L" .. libdir) maps["c++_shared"] = table.join(maps["c++_shared"], "-L" .. libdir) -- sometimes llvm runtimes are located in a target-triple subfolder |
