Skip to content

Commit

Permalink
Fix target.linkname not returning a value
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix authored May 3, 2024
1 parent 9481201 commit 215341f
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 215341f

Please sign in to comment.