[mtouch] Use the 'repl' assemblies when the interpreter is enabled (#5535)

This commit is contained in:
Sebastien Pouliot 2019-02-01 15:55:27 -05:00 коммит произвёл GitHub
Родитель fa09467f8a
Коммит cf86b3e1ef
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -1315,6 +1315,11 @@ namespace Xamarin.Bundler
if (app.EnableRepl && app.LinkMode != LinkMode.None)
throw new MonoTouchException (82, true, "REPL (--enable-repl) is only supported when linking is not used (--nolink).");
// needs to be set after the argument validations
// interpreter can use some extra code (e.g. SRE) that is not shipped in the default (AOT) profile
if (app.UseInterpreter)
app.EnableRepl = true;
if (cross_prefix == null)
cross_prefix = MonoTouchDirectory;