summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/features.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-07-11 14:51:52 +0800
committerruki <[email protected]>2017-07-11 14:51:52 +0800
commit410a36dad68dc1f0b2ac9c12d861af7ab8d0b1d6 (patch)
treee33e94caea84d3a170f6dd86c36ac2e4adbd6687 /xmake/modules/lib/detect/features.lua
parent03420ca44581f299a48935ca60af4824575cd9c1 (diff)
rename has_flag to has_flags
Diffstat (limited to 'xmake/modules/lib/detect/features.lua')
-rw-r--r--xmake/modules/lib/detect/features.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/features.lua b/xmake/modules/lib/detect/features.lua
index 26ee9a18b..be1974a20 100644
--- a/xmake/modules/lib/detect/features.lua
+++ b/xmake/modules/lib/detect/features.lua
@@ -74,7 +74,7 @@ function main(name, opt)
return result
end
- -- detect.tools.xxx.has_flag(flag, opt)?
+ -- detect.tools.xxx.features(opt)?
_g._checking = ifelse(coroutine_running, key, nil)
if os.isfile(path.join(os.programdir(), "modules", "detect", "tools", tool.name, "features.lua")) then
local features = import("detect.tools." .. tool.name .. ".features")