From 4db9dd89df2cc21747c65383b197efb9ca5cba4d Mon Sep 17 00:00:00 2001 From: Peter Kuemmel Date: Sun, 10 Jun 2012 21:27:25 +0200 Subject: Ninja: use slahes in .d files --- Source/cmcldeps.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx index 9aa94d3..ac1c49a7 100644 --- a/Source/cmcldeps.cxx +++ b/Source/cmcldeps.cxx @@ -576,7 +576,7 @@ static void outputDepFile(const string& dfile, const string& objfile, for (vector::iterator i(incs.begin()); i != incs.end(); ++i) { tmp = *i; - doEscape(tmp, "\\", "\\\\"); + doEscape(tmp, "\\", "/"); doEscape(tmp, " ", "\\ "); //doEscape(tmp, "(", "("); // TODO ninja cant read ( and ) //doEscape(tmp, ")", ")"); -- cgit v0.12