diff options
| author | Arthur LAURENT <[email protected]> | 2024-03-06 20:47:42 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-03-06 20:47:42 +0100 |
| commit | 2c67c028dffe3e456e8b9ac16296ef042629b88b (patch) | |
| tree | 17aeee795d2ca6ab6c123e7d49c54b4160296c16 | |
| parent | 5cdb2e09ea9a9babf430aac01397665151f9518c (diff) | |
apply PR suggestion
| -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 5cd32ce04..9e0e23cd2 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -291,7 +291,7 @@ function nf_runtime(self, runtime, opt) maps["c++_shared"] = table.join(maps["c++_shared"], "-L" .. triple_libdir) end -- add rpath to avoid the user need to set LD_LIBRARY_PATH by hand - if not self:is_plat("windows") and not self:is_plat("mingw") then + if not self:is_plat("windows", "mingw") then maps["c++_shared"] = table.join(maps["c++_shared"], "-Wl,-rpath=" .. libdir) if triple_libdir then maps["c++_shared"] = table.join(maps["c++_shared"], "-Wl,-rpath=" .. triple_libdir) |
