[System.Core] Add explicit cycle dependency tracking to System.Core
[mono.git] / mcs / class / Mono.Dynamic.Interpreter / Makefile
index e72e6cf66c220d373d747a684062294b0ff44cbb..fd4c14ecf711e11a6a7e1b702eb3222d10fda922 100644 (file)
@@ -9,5 +9,14 @@ LIB_MCS_FLAGS = -r:System.dll -r:System.Core.dll \
        -d:MONO_INTERPRETER \
        -delaysign -keyfile:../mono.pub
 
+ifeq (monotouch, $(subst _runtime,,$(PROFILE)))
+mono_dynamic_interpreter_deps = $(the_libdir_base)plaincore/System.Core.dll
+LIB_MCS_FLAGS += -lib:$(the_libdir_base)plaincore
+endif
+
 include ../../build/library.make
 
+$(the_libdir_base)Mono.Dynamic.Interpreter.dll: $(mono_dynamic_interpreter_deps)
+
+$(the_libdir_base)plaincore/System.Core.dll:
+       (cd ../System.Core; $(MAKE) $@)
\ No newline at end of file