summaryrefslogtreecommitdiff
path: root/xmake/core/package/component.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-05 23:55:13 +0800
committerruki <[email protected]>2026-01-09 17:59:01 +0800
commit7d506590468cc2fc0984a9890b4cefead1a37718 (patch)
treeca9e27730e787916518bd0c6616203406d5348dc /xmake/core/package/component.lua
parent4255491d58e9a1ea99520f9b04640c6eabd6e84f (diff)
improve scheme
Diffstat (limited to 'xmake/core/package/component.lua')
-rw-r--r--xmake/core/package/component.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/package/component.lua b/xmake/core/package/component.lua
index cfe0a9901..d93a4f7fb 100644
--- a/xmake/core/package/component.lua
+++ b/xmake/core/package/component.lua
@@ -78,8 +78,8 @@ end
-- get the extra configuration
function _instance:extraconf(name, item, key)
local conf = self._INFO:extraconf(name, item, key)
- if conf == nil and self:base() then
- conf = self:base():extraconf(name, item, key)
+ if conf == nil then
+ conf = self:package():extraconf(name, item, key)
end
return conf
end