summaryrefslogtreecommitdiff
path: root/xmake/core/base/interpreter.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-03 00:36:22 +0800
committerruki <[email protected]>2020-09-03 00:36:22 +0800
commit208daf19e621bcaba400a576505553c9f20f3d89 (patch)
tree0ccacf8c67debce0a4f5f3011121465246767538 /xmake/core/base/interpreter.lua
parente49ef767d42e4e4cfd1ecf659e5fd1ea4b8fa9f9 (diff)
fix script for target
Diffstat (limited to 'xmake/core/base/interpreter.lua')
-rw-r--r--xmake/core/base/interpreter.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/base/interpreter.lua b/xmake/core/base/interpreter.lua
index 831065c68..1f1d53060 100644
--- a/xmake/core/base/interpreter.lua
+++ b/xmake/core/base/interpreter.lua
@@ -293,6 +293,9 @@ function interpreter:_api_register_xxx_script(scope_kind, action, ...)
scope["__extra_" .. name] = extra_config
end
+ -- mark as override
+ scope["__override_" .. name] = true
+
-- get patterns
local patterns = {}
if #args > 1 then