diff options
| author | ruki <[email protected]> | 2020-06-29 21:21:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-29 21:21:21 +0800 |
| commit | 11cc7c36a44fd8a1a801fbfa6e1c5b9509cddc29 (patch) | |
| tree | 7eb73892e9de8b586bcf2f7f5961087f079c9dfe | |
| parent | ec717c42631c3af49ba20116a53a1e460e4ef63c (diff) | |
fix inherit links again
| -rw-r--r-- | xmake/rules/utils/inherit_links/inherit_links.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/inherit_links/inherit_links.lua b/xmake/rules/utils/inherit_links/inherit_links.lua index 3a8396924..ba97e4380 100644 --- a/xmake/rules/utils/inherit_links/inherit_links.lua +++ b/xmake/rules/utils/inherit_links/inherit_links.lua @@ -53,7 +53,7 @@ function main(target) local targetdir = target:targetdir() for _, dep in ipairs(target:orderdeps()) do local depinherit = target:extraconf("deps", dep:name(), "inherit") - if dep:targetkind() == "shared" and depinherit == nil or depinherit then + if dep:targetkind() == "shared" and (depinherit == nil or depinherit) then local rpathdir = "@loader_path" local subdir = path.relative(path.directory(dep:targetfile()), targetdir) if subdir and subdir ~= '.' then |
