diff options
Diffstat (limited to 'xmake/modules/lib/detect/has_flags.lua')
| -rw-r--r-- | xmake/modules/lib/detect/has_flags.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/lib/detect/has_flags.lua b/xmake/modules/lib/detect/has_flags.lua index 88bb958b5..1d5cd3848 100644 --- a/xmake/modules/lib/detect/has_flags.lua +++ b/xmake/modules/lib/detect/has_flags.lua @@ -43,6 +43,8 @@ import("lib.detect.find_tool") function main(name, flags, opt) -- wrap flags first + flags = table.clone(flags) + table.wrap_unlock(flags) flags = table.wrap(flags) -- init options |
