summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-17 08:48:11 +0800
committerOpportunityLiu <[email protected]>2019-07-19 11:48:31 +0800
commit0a771e41e5057d2f6dc9dce3cbe2078cbc19aa83 (patch)
tree3478c553fbee0e2842dbe05196f5d742d518bf1b /xmake/core/tool/builder.lua
parentae533cdc5bcee78d7a24b64eac430d9197d0e043 (diff)
add path.splitenv
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