From 5148f8f3c0c492810c85f42dbc09a89dc8201d2e Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 14 May 2024 00:53:42 +0800 Subject: fix libfiles --- xmake/core/project/target.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.3.1