Merge pull request #2720 from mono/fix-39325
[mono.git] / mcs / tools / csharp / Makefile
index 1d74ed5d9ab7c8aca9664e36895a05f771827fa1..7a03be5761c6aadb0b99e9f4e2711e2d8bc4d919 100644 (file)
@@ -6,7 +6,7 @@ include ../../build/rules.make
 
 // 3021: CLS attribute not needed since assembly is not CLS compliant
 NOWARNS = -nowarn:3021
-LOCAL_MCS_FLAGS = -r:$(topdir)/class/lib/$(PROFILE)/Mono.CSharp.dll -r:$(topdir)/class/lib/$(PROFILE)/Mono.Posix.dll -r:Mono.Management.dll -unsafe $(NOWARNS)
+LOCAL_MCS_FLAGS = -r:$(topdir)/class/lib/$(PROFILE)/Mono.CSharp.dll -r:$(topdir)/class/lib/$(PROFILE)/Mono.Posix.dll -r:Mono.Management.dll -r:System.dll -unsafe $(NOWARNS)
 
 PROGRAM = csharp.exe