[genproj] Do not overwrite class library inputs with Facades.
authorJoão Matos <joao@tritao.eu>
Sun, 13 Sep 2015 23:01:41 +0000 (00:01 +0100)
committerJoão Matos <joao@tritao.eu>
Sun, 13 Sep 2015 23:01:41 +0000 (00:01 +0100)
Unfortunately the projects in the Facades share the same names as our main class library assembly names which causes us to overwrite their inputs here.

mcs/build/library.make

index 01d775db736c971ed0a33eee9f749f5dc89cc61e..c9c012467175dcd5c435dad0642d87364afd9a38 100644 (file)
@@ -141,6 +141,7 @@ csproj-local: csproj-library csproj-test
 intermediate_clean=$(subst /,-,$(intermediate))
 csproj-library: 
        config_file=`basename $(LIBRARY) .dll`-$(intermediate_clean)$(PROFILE).input; \
+       [[ $(thisdir) == *"Facades"* ]] && config_file=Facades_$$config_file; \
        echo $(thisdir):$$config_file >> $(topdir)/../msvc/scripts/order; \
        (echo $(is_boot); \
        echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS); \