Browse Source

Linux toolchain can be supplied in the same spirit in path probing on Mac.

i.e. just assume "/usr" here.
pull/935/head
Atsushi Eno 9 years ago
parent
commit
8631baab59
  1. 4
      src/Core/Toolchains/ManagedToolchain.cs

4
src/Core/Toolchains/ManagedToolchain.cs

@ -13,8 +13,8 @@ namespace CppSharp
return @"C:\Program Files (x86)\Mono"; return @"C:\Program Files (x86)\Mono";
else if (Platform.IsMacOS) else if (Platform.IsMacOS)
return "/Library/Frameworks/Mono.framework/Versions/Current"; return "/Library/Frameworks/Mono.framework/Versions/Current";
else
throw new NotImplementedException(); return "/usr";
} }
public static string FindCSharpCompilerDir() public static string FindCSharpCompilerDir()

Loading…
Cancel
Save