Skip to content

Commit 39031e6

Browse files
committed
Link libcoreclrpal.a whole, just like upstream does
1 parent 9552235 commit 39031e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Xamarin.Android.Build.Tasks/Utilities/NativeRuntimeComponents.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ public NativeRuntimeComponents (ITaskItem[] monoComponents)
9797
new ClrArchive ("libcoreclrminipal.a"),
9898
new ClrArchive ("libgc_pal.a"),
9999

100-
// CoreCLR links this archive whole, but it appears to work fine for us when linked in a normal way.
101-
// Leave the flag commented, just in case we discover something not working right.
102-
new ClrArchive ("libcoreclrpal.a"/*, wholeArchive: true*/),
100+
new ClrArchive ("libcoreclrpal.a", wholeArchive: true),
103101
new ClrArchive ("libeventprovider.a"),
104102
new ClrArchive ("libnativeresourcestring.a"),
105103
new ClrArchive ("libminipal.a"),

0 commit comments

Comments
 (0)