diff options
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
| -rw-r--r-- | xmake/scripts/base/makefile.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua index e6121d8a2..a42a71788 100644 --- a/xmake/scripts/base/makefile.lua +++ b/xmake/scripts/base/makefile.lua @@ -192,7 +192,7 @@ function makefile._make_target(file, name, target) file:write(string.format("\t@xmake l $(VERBOSE) verbose \"%s\"\n", verbose)) file:write(string.format("\t@xmake l mkdir %s\n", path.directory(targetfile))) file:write(string.format("\t@%s\n", cmd)) - if srcheaders then + if srcheaders and dstheaders then local i = 1 for _, srcheader in ipairs(srcheaders) do local dstheader = dstheaders[i] |
