diff options
Diffstat (limited to 'xmake/modules/lib')
| -rw-r--r-- | xmake/modules/lib/detect/features.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/lib/detect/has_flags.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/lib/detect/features.lua b/xmake/modules/lib/detect/features.lua index 7a00b04b4..ac72d288d 100644 --- a/xmake/modules/lib/detect/features.lua +++ b/xmake/modules/lib/detect/features.lua @@ -68,8 +68,8 @@ function main(name, opt) return result end - -- detect.tools.xxx.features(opt)? - local features = import("detect.tools." .. tool.name .. ".features", {try = true}) + -- core.tools.xxx.features(opt)? + local features = import("core.tools." .. tool.name .. ".features", {try = true}) if features then result = features(opt) end diff --git a/xmake/modules/lib/detect/has_flags.lua b/xmake/modules/lib/detect/has_flags.lua index abfae3a57..7f915fe21 100644 --- a/xmake/modules/lib/detect/has_flags.lua +++ b/xmake/modules/lib/detect/has_flags.lua @@ -118,8 +118,8 @@ function main(name, flags, opt) -- start profile profiler.enter("has_flags", tool.name, checkflags[1]) - -- detect.tools.xxx.has_flags(flags, opt)? - local hasflags = import("detect.tools." .. tool.name .. ".has_flags", {try = true}) + -- core.tools.xxx.has_flags(flags, opt)? + local hasflags = import("core.tools." .. tool.name .. ".has_flags", {try = true}) local errors = nil if hasflags then result, errors = hasflags(checkflags, opt) |
