summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/has_flags.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-24 00:35:02 +0800
committerruki <[email protected]>2019-07-23 21:30:17 +0800
commit106dbd415ff84325c5f85058159fc462ba66bd85 (patch)
tree0acf57c5304c7f1defccc7a0f4fc85ff33c61d62 /xmake/modules/lib/detect/has_flags.lua
parent536bfe31ce652068d331a561a4f615df5c141218 (diff)
fix links and add comments
Diffstat (limited to 'xmake/modules/lib/detect/has_flags.lua')
-rw-r--r--xmake/modules/lib/detect/has_flags.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/lib/detect/has_flags.lua b/xmake/modules/lib/detect/has_flags.lua
index bebe836d2..c9cdd9a6a 100644
--- a/xmake/modules/lib/detect/has_flags.lua
+++ b/xmake/modules/lib/detect/has_flags.lua
@@ -40,6 +40,7 @@ import("lib.detect.find_tool")
--
function main(name, flags, opt)
+ -- wrap flags first
flags = table.wrap(flags)
-- init options