Merge pull request #5120 from lambdageek/bug-57744
[mono.git] / mcs / tools / cil-strip / Makefile
index 6c3154589a67f21cc0866e0ad37de1cc393e7ef0..80a4caf2a95bfae1a3d60c4df841be032f590e48 100644 (file)
@@ -2,7 +2,11 @@ thisdir = tools/cil-strip
 SUBDIRS =
 include ../../build/rules.make
 
-LOCAL_MCS_FLAGS = -r:System.dll
+LOCAL_MCS_FLAGS =
+LIB_REFS = System
+
+# IMPORTANT: we need to keep the old copy of Cecil we have in this folder since newer Cecil
+# doesn't support keeping metadata tokens the same which would break AOT compilation
 
 PROGRAM = mono-cil-strip.exe