Author: brett Date: Fri Aug 22 03:30:59 2014 New Revision: 1619654 URL: http://svn.apache.org/r1619654 Log: fix build on mono
In my environment, /nostdlib will not be able to locate mscorlib. On mono, these effectively negate each other, so best just to remove the /nostdlib option and let it use the built in mscorlib anyway Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java Modified: incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java?rev=1619654&r1=1619653&r2=1619654&view=diff ============================================================================== --- incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java (original) +++ incubator/npanday/trunk/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java Fri Aug 22 03:30:59 2014 @@ -238,9 +238,7 @@ public final class DefaultCompiler if ( compilerContext.getVendor().equals( Vendor.MONO ) && "FULL".equals( compilerContext.getTargetProfile() ) ) { - commands.add( "/nostdlib" ); commands.add( "/noconfig" ); - commands.add( "/reference:mscorlib" ); commands.add( "/reference:System.Data" ); commands.add( "/reference:System" ); commands.add( "/reference:System.Drawing" );