2010-07-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git] / mcs / class / System.Configuration / Makefile
index 48d75943313db8079890e1cdb803bc584cda01fe..c85675d5c11afdc644542911be352c89d202232a 100644 (file)
@@ -5,11 +5,11 @@ include ../../build/rules.make
 LIBRARY = System.Configuration.dll
 LIBRARY_USE_INTERMEDIATE_FILE = yes
 
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll
+LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Security.dll
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
-# This is a .NET 2.0 only assembly
-VALID_PROFILE := $(filter net_2_0_bootstrap net_2_0, $(PROFILE))
+# This is a .NET 2.0+ only assembly
+VALID_PROFILE := $(filter net_2_0_bootstrap net_2_0 net_4_0_bootstrap net_4_0, $(PROFILE))
 ifndef VALID_PROFILE
 LIBRARY_NAME = dummy-System.Configuration.dll
 NO_INSTALL = yes