summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)