Add ability statically link OpenSSL (#80380)
authorAndrii Kurdiumov <kant2002@gmail.com>
Sun, 15 Jan 2023 07:15:22 +0000 (13:15 +0600)
committerGitHub <noreply@github.com>
Sun, 15 Jan 2023 07:15:22 +0000 (23:15 -0800)
commit2eca2d319bf8d1247edf38facfdd501e0e2f0030
tree70d7e9e18890ffbd72281ae3fa3e636c4d886e73
parent968b4f8e46f78c19315cd2bd4240f47a368be11c
Add ability statically link OpenSSL (#80380)

* Add ability statically link OpenSSL

This setup works if I apply this as local customizations, I do not sure that I use OpenSSL in most secure way, I do not competent. This setup and StaticExecutable=true allow package just EXE file + /etc/ssl/certs/ folder in Docker

* Share build scripts across Globalization and OpenSSL

* Add warning

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
src/coreclr/nativeaot/docs/compiling.md
src/installer/pkg/projects/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj
src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt
src/native/libs/build-local.sh [moved from src/native/libs/System.Globalization.Native/local_build.sh with 72% similarity]