This is a fix for bug # 853 --
[mono.git] / mcs / class / System.Runtime.Caching / Makefile
index 98cf56b53301043570ecb30c4b115c223bc476c4..4d2b3037d69ef986f1fb282e096833c2ce8637e6 100644 (file)
@@ -5,13 +5,14 @@ include ../../build/rules.make
 LIBRARY = System.Runtime.Caching.dll
 LIB_MCS_FLAGS = -r:System.dll \
                -r:System.Data.dll \
-               -r:System.Configuration.dll
+               -r:System.Configuration.dll \
+               -r:System.Core.dll
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = $(RESOURCE_FILES)
 
-VALID_PROFILE := $(filter 4.0, $(FRAMEWORK_VERSION))
+VALID_PROFILE := $(filter 4, $(FRAMEWORK_VERSION_MAJOR))
 ifndef VALID_PROFILE
 LIBRARY_NAME = dummy-System.Runtime.Caching.dll
 NO_INSTALL = yes