diff options
| author | ruki <[email protected]> | 2018-05-09 00:39:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-08 21:54:32 +0800 |
| commit | 87a3262733fb60ab6262893d55ca4b5d0e1b516c (patch) | |
| tree | 21d081c4d84d483c58ae9fb870eae36a2decf4f1 /xmake/modules/core/tools/gcc.lua | |
| parent | b5333b27b79f7cabbdc8d75356b2de118f9ea744 (diff) | |
improve qt build deps
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index e0fa9a188..879232535 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -351,7 +351,7 @@ function _include_deps(self, sourcefile, flags) for includefile in string.gmatch(deps, "%s+([%w/%.%-%+_%$%.]+)") do -- save it if belong to the project - if not path.is_absolute(includefile) then + if path.absolute(includefile):startswith(os.projectdir()) then table.insert(results, includefile) end end |
