LIBRARY = System.Xml.Linq.dll
LIB_MCS_FLAGS = \
- /r:System.dll \
- /r:System.Core.dll \
- /r:System.Xml.dll
+ -r:System.dll \
+ -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
+ifneq (2.1, $(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
EXTRA_DISTFILES =
-VALID_PROFILE := $(filter net_2_0 net_2_1_raw, $(PROFILE))
+VALID_PROFILE := $(filter 2.0 2.1 4.0, $(FRAMEWORK_VERSION))
ifndef VALID_PROFILE
LIBRARY_NAME = dummy-System.Xml.Linq.dll
NO_INSTALL = yes