X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Xml.Linq%2FMakefile;h=3a2974b4074e20faabf63f6c81d78d3d177d001a;hb=a9aadcde06454408cb4843f27e25a6294756f0ba;hp=fda80f8de9b05907d2d26ad8b369e8576bcbdf70;hpb=e01476214d00afa429f83568c459734aaea08e8f;p=mono.git diff --git a/mcs/class/System.Xml.Linq/Makefile b/mcs/class/System.Xml.Linq/Makefile index fda80f8de9b..3a2974b4074 100644 --- a/mcs/class/System.Xml.Linq/Makefile +++ b/mcs/class/System.Xml.Linq/Makefile @@ -8,13 +8,16 @@ LIB_MCS_FLAGS = \ /r:System.Core.dll \ /r:System.Xml.dll +ifeq (2.0, $(FRAMEWORK_VERSION)) +# This is a .NET 3.5 only assembly, but built during the 2.0 build +LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720 +endif + TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) EXTRA_DISTFILES = -# This is a .NET 3.5 only assembly -VALID_PROFILE := $(filter net_3_5, $(PROFILE)) -ifndef VALID_PROFILE +ifneq (net_2_0, $(PROFILE)) LIBRARY_NAME = dummy-System.Xml.Linq.dll NO_INSTALL = yes NO_SIGN_ASSEMBLY = yes