summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-03 11:28:40 +0800
committerOpportunityLiu <[email protected]>2019-06-03 11:28:40 +0800
commit448ec7e23eb0beaf4bd1d395656ae55b1f06c5f8 (patch)
tree376d8069fec708a7fa444e9ff5eed9f1d2560338
parent4469331515012fe65fd30067af0eb8225fd6406e (diff)
fix split
-rw-r--r--xmake/modules/private/tools/gcc/parse_deps.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/tools/gcc/parse_deps.lua b/xmake/modules/private/tools/gcc/parse_deps.lua
index 76f2acd50..ec740f220 100644
--- a/xmake/modules/private/tools/gcc/parse_deps.lua
+++ b/xmake/modules/private/tools/gcc/parse_deps.lua
@@ -66,7 +66,7 @@ function main(depsdata)
if p ~= nil then
line = line:sub(p + 1)
line = line:gsub("\\ ", spacePlaceHolder)
- for _, includefile in ipairs(line:split("%s+")) do
+ for _, includefile in ipairs(line:split("%s")) do
includefile = includefile:gsub(spacePlaceHolder, " ")
includefile = _normailize_dep(includefile)
if includefile then