Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed May 3, 2024
1 parent 9823661 commit 1354956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/project/target.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2859,7 +2859,7 @@ function target.linkname(filename, opt)
print("filename", filename)
return filename
end
print("nil")
print("nil", filename)
end

-- new a target instance
Expand Down
1 change: 1 addition & 0 deletions xmake/modules/package/manager/xmake/find_package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function _find_package_from_repo(name, opt)
local filename = path.filename(file)
if not symrefs[filename] then
if file:endswith(".so") or file:match(".+%.so%..+$") or file:endswith(".dylib") then
print("file", file)
print("xxx", target.linkname(path.filename(file), {plat = opt.plat}))
table.insert(links, target.linkname(path.filename(file), {plat = opt.plat}))
end
Expand Down

0 comments on commit 1354956

Please sign in to comment.