Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/aot-compiler/Makefile')
-rw-r--r--mcs/class/aot-compiler/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mcs/class/aot-compiler/Makefile b/mcs/class/aot-compiler/Makefile
index 4d41657549b..d4cba321935 100644
--- a/mcs/class/aot-compiler/Makefile
+++ b/mcs/class/aot-compiler/Makefile
@@ -54,8 +54,9 @@ install-local:
$(INSTALL_LIB) $(mcs_aot_image) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
endif
-# No mcs in net 2.0
-ifeq ($(PROFILE),net_2_0)
+# No mcs in net 2.0 or net 4.5
+MSCORLIB_PROFILE := $(filter net_2_0 net_4_5, $(PROFILE))
+ifdef MSCORLIB_PROFILE
all-local: $(mscorlib_aot_image)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)