diff options
| author | ruki <[email protected]> | 2024-08-31 00:41:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-31 00:41:43 +0800 |
| commit | 8317c6570c5abcd0e054741f58770b7eb57ec744 (patch) | |
| tree | 0d2a15628e5c283e962dad46e54b27bd6894134f /xmake/modules/core/tools | |
| parent | a50553989fd578547255c34616fff4e18ba84784 (diff) | |
remove fake_target
Diffstat (limited to 'xmake/modules/core/tools')
| -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 76a1f773b..879bdb628 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -296,7 +296,7 @@ function nf_runtime(self, runtime, opt) if triple_libdir then maps["c++_shared"] = table.join(maps["c++_shared"], nf_rpathdir(self, triple_libdir)) end - if target:is_shared() and self:is_plat("macosx", "iphoneos", "watchos") then + if target:is_shared() and target.filename and self:is_plat("macosx", "iphoneos", "watchos") then maps["c++_shared"] = table.join(maps["c++_shared"], "-install_name") maps["c++_shared"] = table.join(maps["c++_shared"], "@rpath/" .. target:filename()) end |
