Fix RemoteEndpoint with async+DualMode (#4717)
[mono.git] / mcs / class / System.Net / Makefile
index b4282b3a4b22489c6302b68fc23c95e9e7312b3f..d3fb591adbec7dbd63d45006e65424896f682e6a 100644 (file)
@@ -3,7 +3,8 @@ SUBDIRS =
 include ../../build/rules.make
 
 LIBRARY = System.Net.dll
-LIB_MCS_FLAGS =  -unsafe -r:System.dll -r:System.Core.dll -r:System.Xml.dll
+LIB_REFS = System System.Core System.Xml
+LIB_MCS_FLAGS =  -unsafe
 
 ifneq (2.1, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720