Skip to content

Commit fd0406e

Browse files
committed
Accept all the libs when not linking
1 parent f25989f commit fd0406e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/ProcessNativeLibraries.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ public override bool RunTask ()
118118

119119
bool IgnoreLibraryWhenLinkingRuntime (ITaskItem libItem)
120120
{
121+
if (!NativeRuntimeLinking) {
122+
return false;
123+
}
124+
121125
// We ignore all the shared libraries coming from the runtime packages, as they are all linked into our runtime and
122126
// need not be packaged.
123127
string packageId = libItem.GetMetadata ("NuGetPackageId");

0 commit comments

Comments
 (0)