[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / class / WindowsBase / Makefile
index 172a501446ed8ef2cdff39eaa58e4ce4ab20906d..842c1ed0ebe00b59e48bc1392671abaa8d8fb563 100644 (file)
@@ -5,14 +5,15 @@ LIBRARY = WindowsBase.dll
 
 LIB_REFS = System System.Xml
 LIB_MCS_FLAGS = -unsafe
-TEST_MCS_FLAGS = -unsafe -r:WindowsBase.dll -r:System.dll -r:System.Xml.dll -r:System.Core.dll
+TEST_MCS_FLAGS = -unsafe
+TEST_LIB_REFS = WindowsBase System System.Xml System.Core
 
 ifeq (2.0, $(FRAMEWORK_VERSION))
 LIB_MCS_FLAGS += -d:NET_3_0
 endif
 ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
 LIB_REFS += System.Xaml
-TEST_MCS_FLAGS += -r:System.Xaml.dll
+TEST_LIB_REFS += System.Xaml
 endif
 
 include ../../build/library.make