diff options
| author | OpportunityLiu <[email protected]> | 2019-06-03 11:28:40 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-03 11:28:40 +0800 |
| commit | 448ec7e23eb0beaf4bd1d395656ae55b1f06c5f8 (patch) | |
| tree | 376d8069fec708a7fa444e9ff5eed9f1d2560338 | |
| parent | 4469331515012fe65fd30067af0eb8225fd6406e (diff) | |
fix split
| -rw-r--r-- | xmake/modules/private/tools/gcc/parse_deps.lua | 2 |
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 |
