Skip to content
Permalink
Browse files

[Xamarin.Android.Build.Tasks] Make use of --bundled-header when using…

… 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 b6d236009499c013467da8b527d27c0b76b58240
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Xamarin.Android.Build.Tasks/Tasks/MakeBundleNativeCodeExternal.cs
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
@@ -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");

0 comments on commit b6d2360

Please sign in to comment.
You can’t perform that action at this time.