summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-19 22:10:32 +0800
committerruki <[email protected]>2024-05-19 22:11:23 +0800
commit0a965dfa5ad4c0ba34dab7624fbe1852e61782b6 (patch)
treeedd69138bde1427d1e03a37e77b7874b159e8dc4
parent03a50826713d642466528df1d7ffe943834f03a9 (diff)
fix build configs
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 2d0fe989d..00c89f241 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -2273,7 +2273,7 @@ end
-- generate building configs for has_xxx/check_xxx
function _instance:_generate_build_configs(configs, opt)
opt = opt or {}
- configs = table.join(self:fetch_librarydeps(), configs)
+ configs = table.join(self:fetch_librarydeps() or {}, configs)
-- since we are ignoring the runtimes of the headeronly library,
-- we can only get the runtimes from the dependency library to detect the link.
local runtimes = self:runtimes()