Merge pull request #2992 from lambdageek/dev/monoerror-other-invokes
[mono.git] / mcs / class / System.ServiceModel / Makefile
index 03dbd5fd9e59d7fd8b5b225e7ed63040f22fc059..5f09e6a23292aadd8f61059dbe303d53c118bc57 100644 (file)
@@ -34,7 +34,8 @@ activation = $(the_libdir_base)System.ServiceModel.Activation.dll
 servicemodel_deps = $(activation)
 
 ifneq (plainservice/,$(intermediate))
-LIB_MCS_FLAGS += -define:HAS_ACTIVATION -r:System.ServiceModel.Activation.dll
+LIB_REFS += System.ServiceModel.Activation
+LIB_MCS_FLAGS += -define:HAS_ACTIVATION
 endif 
 endif # NO_SYSTEM_SERVICEMODEL_ACTIVATION_DEPENDENCY