From 46eb7ec26760103e279957aa9ccd025e47b9381f Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 18 Oct 2022 08:11:24 +0200 Subject: [PATCH] [apidiff] Don't try to update legacy refs unless legacy is enabled. (#16363) --- tools/apidiff/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/apidiff/Makefile b/tools/apidiff/Makefile index 804a57caa5..dcffa11edf 100644 --- a/tools/apidiff/Makefile +++ b/tools/apidiff/Makefile @@ -512,6 +512,7 @@ ifdef ENABLE_DOTNET update-dotnet: $(DOTNET_REFS) endif +ifdef INCLUDE_XAMARIN_LEGACY ifdef INCLUDE_IOS update-refs: $(IOS_REFS) endif @@ -524,6 +525,7 @@ endif ifdef INCLUDE_MAC update-refs: $(MAC_REFS) endif +endif ifdef ENABLE_DOTNET update-refs: $(DOTNET_REFS)