diff options
| -rw-r--r-- | xmake/core/tool/builder.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index c3d67470e..4d2e25a0b 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -193,7 +193,10 @@ end -- add flags from the configure function builder:_add_flags_from_config(flags) for _, flagkind in ipairs(self:_flagkinds()) do - table.join2(flags, config.get(flagkind)) + local values = config.get(flagkind) + if values then + table.join2(flags, os.argv(values)) + end end end |
