[build] Generate all aot images for csc into the profile directory instead of next...
[mono.git] / mcs / packages / Makefile
index 6dc4b4cf670e3dd8b93df534c28903954e29d39f..d3d99b0614295268f2907b9671a488154f5ca1ad 100644 (file)
@@ -22,10 +22,10 @@ ifeq ($(PROFILE), $(DEFAULT_PROFILE))
 
 TARGET_DIR = $(DESTDIR)$(mono_libdir)/mono/$(FRAMEWORK_VERSION)
 
-install-local: $(ROSLYN_FILES) $(ROSLYN_AOT_FILES)
+install-local:
        $(MKINSTALLDIRS) $(TARGET_DIR)
        $(INSTALL_LIB) $(ROSLYN_FILES) $(TARGET_DIR)
-       $(INSTALL_LIB) $(ROSLYN_AOT_FILES) $(TARGET_DIR)
+       if test x$(ENABLE_AOT) != x; then $(INSTALL_LIB) $(ROSLYN_AOT_FILES) $(TARGET_DIR); fi
 
 endif