Fix RemoteEndpoint with async+DualMode (#4717)
[mono.git] / mcs / class / System.Net / Makefile
index 9cd320df3befebbf863f19cef61a065b60e3aa40..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 -d:NET_2_1 -d:NET_2_0 -d:NET_1_1
+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