Skip to content

Commit

Permalink
[Xamarin.Android.Build.Tasks] Make use of --bundled-header when using…
Browse files Browse the repository at this point in the history
… mkbundle. (#578)

We no longer build mkbundle manually. Instead we make use of the
system mono version. This commit makes sure we don't have a
dependency on having mono installed by using the --bundled-header
flag for mkbundle.

--bundled-header makes sure the generated code does not require
mono-config.h. This means it will compile without mono being
installed. Which is important on windows since most users will NOT
have mono.
  • Loading branch information
dellis1972 authored and jonpryor committed May 15, 2017
1 parent 8e7d37b commit b6d2360
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
Expand Down Expand Up @@ -111,6 +111,7 @@ bool DoExecute ()
clb.AppendSwitch ("--dos2unix=false");
clb.AppendSwitch ("--nomain");
clb.AppendSwitch ("--i18n none");
clb.AppendSwitch ("--bundled-header");
clb.AppendSwitch ("--style");
clb.AppendSwitch ("linux");
clb.AppendSwitch ("-c");
Expand Down

0 comments on commit b6d2360

Please sign in to comment.