Add mscorlib as mcs aot dependency
authorMarek Safar <marek.safar@gmail.com>
Thu, 10 Feb 2011 12:21:12 +0000 (12:21 +0000)
committerMarek Safar <marek.safar@gmail.com>
Thu, 10 Feb 2011 13:36:36 +0000 (13:36 +0000)
mcs/class/aot-compiler/Makefile

index eaaf62c6bf1273de65528d77fe2e7a35dd0021c8..4d41657549bb9387ca8472a200cdeab57c337ff2 100644 (file)
@@ -29,7 +29,7 @@ ifndef SKIP_AOT
 
 ifdef PLATFORM_AOT_SUFFIX
 Q_AOT=$(if $(V),,@echo "AOT [$(PROFILE)] $(notdir $(@))";)
-$(mcs_aot_image): $(mcs_exe) $(runtime_dep)
+$(mcs_aot_image): $(mcs_exe) $(mscorlib_dll) $(runtime_dep)
        $(Q_AOT) MONO_PATH='$(the_libdir)' > $(PROFILE)_aot.log 2>&1 $(RUNTIME) --aot=bind-to-runtime-version,outfile=$(mcs_aot_image) --debug $(mcs_exe) || cat $(PROFILE)_aot.log || (cat $(PROFILE)_aot.log; exit 1)
 
 $(mscorlib_aot_image): $(mscorlib_dll) $(runtime_dep)