Don't build static binaries by default.
All checks were successful
Compile Cytoplasm / Compile Cytoplasm (x86_64, debian-v12.4) (push) Successful in 13s
Compile Cytoplasm / Compile Cytoplasm (x86_64, alpine-v3.19) (push) Successful in 12s
Compile Cytoplasm / Compile Cytoplasm (x86, alpine-v3.19) (push) Successful in 13s
Compile Cytoplasm / Compile Cytoplasm (x86, debian-v12.4) (push) Successful in 14s

OpenSSL isn't build statically on most Linux distributions, so --static
only makes sense with --disable-tls or a custom build of OpenSSL.

I haven't tested LibreSSL.
This commit is contained in:
Jordan Bancino 2024-01-12 18:06:41 -05:00
parent 7830b91603
commit b39d2e4a36

2
configure vendored
View file

@ -18,7 +18,7 @@ LIBS="-lm -pthread"
# Set default args for all platforms
SCRIPT_ARGS="--cc=cc --prefix=/usr/local --enable-ld-extra --lib-name=Cytoplasm --lib-version=0.4.1 --static $@"
SCRIPT_ARGS="--cc=cc --prefix=/usr/local --enable-ld-extra --lib-name=Cytoplasm --lib-version=0.4.1 $@"
# Set platform specific args
case "$(uname)" in