From a01a3cccd3973a95347638b700b04cc832681a5d Mon Sep 17 00:00:00 2001 From: triton Date: Sat, 23 Feb 2013 20:30:09 +0000 Subject: [PATCH] Expand the paths so that they are correct when passed to Clang. --- src/Generator/Driver.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Generator/Driver.cs b/src/Generator/Driver.cs index 8c21ae25..1f5369e2 100644 --- a/src/Generator/Driver.cs +++ b/src/Generator/Driver.cs @@ -45,9 +45,7 @@ namespace Cxxi for (var i = 0; i < Options.IncludeDirs.Count; i++) { - if (Options.IncludeDirs[i] != ".") - continue; - Options.IncludeDirs[i] = Directory.GetCurrentDirectory(); + Options.IncludeDirs[i] = Path.GetFullPath(Options.IncludeDirs[i]); } }