commit | ebd99e0e03b2a3930065d969467b074e148e43db | [log] [tgz] |
---|---|---|
author | Brett Porter <brett@apache.org> | Fri Aug 22 03:30:59 2014 +0000 |
committer | Brett Porter <brett@apache.org> | Fri Aug 22 03:30:59 2014 +0000 |
tree | 1d5d0f237d1b191b1f4a6ae2bb3db43db5250bdd | |
parent | b72473280c7cf8a52e62858fc374ec87e11cfa37 [diff] |
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 git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1619654 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java b/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java index f85d304..7e5dca5 100644 --- a/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java +++ b/components/dotnet-executable/src/main/java/npanday/executable/compiler/impl/DefaultCompiler.java
@@ -238,9 +238,7 @@ 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" );