File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,17 +37,16 @@ extract_runtimes() {
3737rm -rf nuget.package/runtimes/$RID
3838mkdir -p nuget.package/runtimes/$RID /native
3939
40- if [[ $RID == " linux-x64" ]]; then
41- build_in_container " linux-x64" " Dockerfile.linux" " " " "
42- extract_runtimes " linux-x64"
43-
44- # Speicially build a static libssh2 variant for Linux x64 with OpenSSL 1.1 to
45- build_in_container " linux-x64-openssl1.1" " Dockerfile.linux-static-libssh2" " openssl1.1" " debian:bullseye-slim"
46- extract_runtimes " linux-x64-openssl1.1"
47- elif [[ $RID == linux-musl* ]]; then
40+ if [[ $RID == linux-musl* ]]; then
4841 build_in_container " $RID " " Dockerfile.linux-musl" " " " "
4942 extract_runtimes " $RID "
5043else
44+ # All glibc-based Linux RIDs get two variants:
45+ # 1. Default: built on bookworm against OpenSSL 3, libssh2 bundled as a separate .so
46+ # 2. openssl1.1: built on bullseye against OpenSSL 1.1, libssh2 statically linked
5147 build_in_container " $RID " " Dockerfile.linux" " " " "
5248 extract_runtimes " $RID "
49+
50+ build_in_container " $RID -openssl1.1" " Dockerfile.linux-static-libssh2" " openssl1.1" " debian:bullseye-slim"
51+ extract_runtimes " $RID -openssl1.1"
5352fi
You can’t perform that action at this time.
0 commit comments