From 3e75dfe72672b3c2f539123a50291903ada8def2 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 22 Mar 2021 15:29:57 +0100 Subject: [PATCH] Add native handlers linker suppression conditional to build only --- eng/illink.targets | 5 +++++ ...Suppressions.xml => ILLink.Suppressions.LibraryBuild.xml} | 0 2 files changed, 5 insertions(+) rename src/libraries/System.Net.Http/src/ILLink/{ILLink.Suppressions.xml => ILLink.Suppressions.LibraryBuild.xml} (100%) diff --git a/eng/illink.targets b/eng/illink.targets index c7a97df0c4d36..2382ac2c24f63 100644 --- a/eng/illink.targets +++ b/eng/illink.targets @@ -34,6 +34,7 @@ $(ILLinkDirectory)ILLink.Suppressions $(ILLinkSuppressionsXmlFilePrefix).xml + $(ILLinkSuppressionsXmlFile).LibraryBuild.xml $(ILLinkSuppressionsXmlFilePrefix).$(Configuration).xml @@ -42,6 +43,7 @@ + @@ -73,6 +75,8 @@ Include="$(ILLinkSuppressionsXmlFile)" /> + @@ -229,6 +233,7 @@ $(ILLinkArgs) -b true $(ILLinkArgs) -x "$(ILLinkTrimXmlLibraryBuild)" + $(ILLinkArgs) --link-attributes "$(ILLinkSuppressionsXmlFileLibraryBuild)"