summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-12-18 15:58:13 +0800
committerGitHub <[email protected]>2021-12-18 15:58:13 +0800
commit2e7c3bb2459dc25e68a7241b8b8c2d2811849dd4 (patch)
tree8478654f63670e26155700a5d85122752c7b6151
parent90e499cb2992883fef7a0eb16640e1765581ba8e (diff)
Update 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 e255fa1ec..88a5d07fb 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1316,7 +1316,7 @@ function _instance:find_package(name, opt)
mode = self:mode(),
plat = self:plat(),
arch = self:arch(),
- configs = self:configs(),
+ configs = table.join(self:configs(), opt.configs),
buildhash = self:buildhash(), -- for xmake package or 3rd package manager, e.g. go:: ..
cachekey = opt.cachekey or "fetch_package_system",
external = opt.external,