summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index 472d5be76..51e284ad5 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -380,8 +380,8 @@ function builder:_add_flags_from_language(flags, target, getters)
{
config = function (name)
local values = config.get(name)
- if values and name:endswith("dirs") then
- values = values:split(path.envsep(), {plain = true})
+ if values and name:endswith("dirs") then
+ values = path.splitenv(values)
end
return values
end