Fix corlib and runtime rules in Makefile (#34868)
authorEgor Bogatov <egorbo@gmail.com>
Sun, 12 Apr 2020 18:25:58 +0000 (21:25 +0300)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2020 18:25:58 +0000 (21:25 +0300)
src/mono/netcore/Makefile

index 25b47bb..365f625 100644 (file)
@@ -38,11 +38,11 @@ run-sample-coreclr:
 
 # build System.Private.CoreLib.dll
 bcl corelib:
-       $(DOTNET) msbuild /t:BuildCoreLib $(MONO_PROJ)
+       ../../.././build.sh -c $(MONO_RUNTIME_CONFIG) -subset Mono.CoreLib
 
 # build runtime and copy to artifacts
 runtime:
-       $(DOTNET) msbuild /t:Build $(MONO_PROJ)
+       ../../.././build.sh -c $(MONO_RUNTIME_CONFIG) -subset Mono.Runtime
 
 # call it if you want to use $(DOTNET_MONO) in this Makefile
 patch-mono-dotnet: