summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-14 00:53:42 +0800
committerruki <[email protected]>2024-05-14 00:53:42 +0800
commit5148f8f3c0c492810c85f42dbc09a89dc8201d2e (patch)
treeadacbd87a4e7723fbe07d691e729c2e561515046
parent3cf9f4d5b831280e2668557a09f0e21441f41802 (diff)
fix libfiles
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 58c5c89d9..03e7ff626 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -307,7 +307,7 @@ function _instance:_get_from_packages(name, result_values, result_sources, opt)
local result = {}
for _, libfile in ipairs(table.wrap(libfiles)) do
if not libfile:endswith(".dll") then
- table.insert(result, libfiles)
+ table.insert(result, libfile)
end
end
return table.unwrap(result)