diff options
Diffstat (limited to 'mcs/mcs/driver.cs')
-rw-r--r-- | mcs/mcs/driver.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/mcs/driver.cs b/mcs/mcs/driver.cs index cd42b8974c6..d4a2d7e1503 100644 --- a/mcs/mcs/driver.cs +++ b/mcs/mcs/driver.cs @@ -344,7 +344,8 @@ namespace Mono.CSharp tr.Stop (TimeReporter.TimerType.CloseTypes); tr.Start (TimeReporter.TimerType.Resouces); - assembly.EmbedResources (); + if (!settings.WriteMetadataOnly) + assembly.EmbedResources (); tr.Stop (TimeReporter.TimerType.Resouces); if (Report.Errors > 0) |