X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.ServiceModel%2FMakefile;h=88a4aff090fec2ee175cb8e96d25f98c4a5eb271;hb=56d21fac2ceee290cd20eec13d59a49ec325d1d4;hp=9b22de08c8c2c9a98adb72c541b5e1baf2f6811e;hpb=a18fbb9d9d8648aa0da548c5684da00ae74fadaf;p=mono.git diff --git a/mcs/class/System.ServiceModel/Makefile b/mcs/class/System.ServiceModel/Makefile index 9b22de08c8c..88a4aff090f 100755 --- a/mcs/class/System.ServiceModel/Makefile +++ b/mcs/class/System.ServiceModel/Makefile @@ -30,7 +30,7 @@ LIB_MCS_FLAGS += /d:NET_3_0 \ /r:Mono.Security.dll endif -ifeq (2.1, $(FRAMEWORK_VERSION)) +ifeq (net_2_1_raw, $(PROFILE)) LIB_MCS_FLAGS += /r:System.Net endif @@ -47,7 +47,7 @@ EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_EXTRA_FILES) # Useful for debugging under Visual Studio 2005 # NO_SIGN_ASSEMBLY = yes -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.ServiceModel.dll NO_INSTALL = yes