[*] gmake2: fix unescaped ' ' characters in target directory and target

This commit is contained in:
Reece Wilson 2022-04-05 13:03:07 +01:00
parent 00c056c0fe
commit 647a083895

View File

@ -268,13 +268,13 @@
function gmake2.target(cfg, toolset)
p.outln('TARGETDIR = ' .. project.getrelative(cfg.project, cfg.buildtarget.directory))
p.outln('TARGET = $(TARGETDIR)/' .. cfg.buildtarget.name)
p.outln('TARGETDIR = ' .. p.esc(project.getrelative(cfg.project, cfg.buildtarget.directory)))
p.outln('TARGET = $(TARGETDIR)/' .. p.esc(cfg.buildtarget.name))
end
function gmake2.objdir(cfg, toolset)
p.outln('OBJDIR = ' .. project.getrelative(cfg.project, cfg.objdir))
p.outln('OBJDIR = ' .. p.esc(project.getrelative(cfg.project, cfg.objdir)))
end