Skip to content

Commit

Permalink
Merge pull request #5049 from SirLynix/patch-17
Browse files Browse the repository at this point in the history
Fix target.linkname not returning a value
  • Loading branch information
waruqi authored May 4, 2024
2 parents 9481201 + 215341f commit f0009e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmake/core/project/target.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2857,6 +2857,7 @@ function target.linkname(filename, opt)
if not filename:startswith("lib") and (filename:endswith(".so") or filename:endswith(".dylib")) then
return filename
end
return nil
end

-- new a target instance
Expand Down

0 comments on commit f0009e0

Please sign in to comment.