Merge pull request #2869 from BrzVlad/feature-mod-union-opt
[mono.git] / mcs / class / System.Net.Http / Makefile
index aa3cdf921e56f3563c5d53c213ed72cf7c2cd1a9..9abcf2e80f62071ca0cf14a470dfaed396b3596a 100644 (file)
@@ -6,7 +6,11 @@ LIBRARY = System.Net.Http.dll
 
 LIB_REFS = System.Core System
 LIB_MCS_FLAGS = $(EXTRA_LIB_MCS_FLAGS)
+ifeq (monodroid,$(PROFILE))
+LIB_MCS_FLAGS += -d:XAMARIN_MODERN
+endif
 
-TEST_MCS_FLAGS = -r:System.dll -r:System.Core.dll
+TEST_LIB_REFS = System System.Core
+TEST_MCS_FLAGS =
 
 include ../../build/library.make