summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-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()