diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2022-08-11 12:04:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 12:04:16 +0200 |
commit | 11976981f5a4b220588e61bd763120b5876b6f21 (patch) | |
tree | ae065b18f933ea76a91c29a3c0bc366c145ee895 /pkgs/build-support | |
parent | 176b0d50aeefdb4b81d948bf9719fe300fd98635 (diff) | |
parent | 134da4ce3655b84fe7ade62486ab858ee141c3a3 (diff) |
Merge pull request #185021 from mdarocha/fix-self-contained
buildDotnetModule: fix build for dotnet-sdk versions below 6
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh b/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh index a8a830195eaa8..c7a6d8c17aba2 100644 --- a/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh +++ b/pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh @@ -15,9 +15,9 @@ dotnetBuildHook() { fi if [ "${selfContainedBuild-}" ]; then - dotnetBuildFlags+=("--self-contained") + dotnetBuildFlags+=("-p:SelfContained=true") else - dotnetBuildFlags+=("--no-self-contained") + dotnetBuildFlags+=("-p:SelfContained=false") fi if [ "${version-}" ]; then |