diff --git a/src/mono/wasm/Makefile b/src/mono/wasm/Makefile index a8826112502af..275c4bad32da2 100644 --- a/src/mono/wasm/Makefile +++ b/src/mono/wasm/Makefile @@ -38,7 +38,7 @@ test-runner: $(DOTNET) build $(TOP)/src/libraries/Common/tests/WasmTestRunner /p:Configuration=$(CONFIG) $(MSBUILD_ARGS) build-tasks: - $(DOTNET) build $(TOP)/src/tasks/tasks.proj /p:Configuration=$(CONFIG) $(MSBUILD_ARGS) + $(DOTNET) build $(TOP)/src/tasks/tasks.proj /p:Configuration=$(CONFIG) /p:TargetOS=browser $(MSBUILD_ARGS) clean: $(RM) -rf $(BUILDS_OBJ_DIR)