Skip to content

Commit

Permalink
[tools] Always use '__Internal' as the native library for .NET.
Browse files Browse the repository at this point in the history
This is not the final fix, but this code will be reworked extensively, and
this fix works for now to make the interpreter work.
  • Loading branch information
rolfbjarne authored and vs-mobiletools-engineering-service2 committed Jul 27, 2021
1 parent 9ba61fc commit 1346f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/common/Target.cs
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ void GenerateIOSMain (StringWriter sw, Abi abi)
var addDllMap = true;
#endif
string mono_native_lib;
if (app.LibMonoNativeLinkMode == AssemblyBuildTarget.StaticObject)
if (app.LibMonoNativeLinkMode == AssemblyBuildTarget.StaticObject || Driver.IsDotNet)
mono_native_lib = "__Internal";
else
mono_native_lib = app.GetLibNativeName () + ".dylib";
Expand Down

0 comments on commit 1346f31

Please sign in to comment.