Fix roslyn install with AOT disabled.
authorVincent Povirk <vincent@codeweavers.com>
Tue, 20 Dec 2016 22:42:54 +0000 (16:42 -0600)
committerVincent Povirk <vincent@codeweavers.com>
Tue, 20 Dec 2016 22:45:42 +0000 (16:45 -0600)
mcs/packages/Makefile

index 22026f58078007ab00bf39b92c74c1a34bb80945..d3d99b0614295268f2907b9671a488154f5ca1ad 100644 (file)
@@ -25,7 +25,7 @@ TARGET_DIR = $(DESTDIR)$(mono_libdir)/mono/$(FRAMEWORK_VERSION)
 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