Compare commits
No commits in common. "master" and "v8.2.1" have entirely different histories.
6
build.sh
6
build.sh
@ -5,7 +5,7 @@
|
|||||||
# docker run --rm -v $(pwd):/tmp -w /tmp -e ARCH=aarch64 multiarch/alpine:aarch64-latest-stable /tmp/build.sh
|
# docker run --rm -v $(pwd):/tmp -w /tmp -e ARCH=aarch64 multiarch/alpine:aarch64-latest-stable /tmp/build.sh
|
||||||
# docker run --rm -v $(pwd):/tmp -w /tmp -e ARCH=ARCH_HERE ALPINE_IMAGE_HERE /tmp/build.sh
|
# docker run --rm -v $(pwd):/tmp -w /tmp -e ARCH=ARCH_HERE ALPINE_IMAGE_HERE /tmp/build.sh
|
||||||
|
|
||||||
CURL_VERSION='8.10.1'
|
CURL_VERSION='8.2.1'
|
||||||
|
|
||||||
[ "$1" != "" ] && CURL_VERSION="$1"
|
[ "$1" != "" ] && CURL_VERSION="$1"
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ tar xzf curl-${CURL_VERSION}.tar.gz
|
|||||||
cd curl-${CURL_VERSION}/
|
cd curl-${CURL_VERSION}/
|
||||||
|
|
||||||
# dependencies to build curl
|
# dependencies to build curl
|
||||||
apk add build-base clang openssl-dev nghttp2-dev nghttp2-static libssh2-dev libssh2-static perl
|
apk add build-base clang openssl-dev nghttp2-dev nghttp2-static libssh2-dev libssh2-static
|
||||||
|
|
||||||
# these are missing on at least armhf
|
# these are missing on at least armhf
|
||||||
apk add openssl-libs-static zlib-static || true
|
apk add openssl-libs-static zlib-static || true
|
||||||
@ -49,7 +49,7 @@ export CC=clang
|
|||||||
# set up any required curl options here
|
# set up any required curl options here
|
||||||
#LDFLAGS="-static" PKG_CONFIG="pkg-config --static" ./configure --disable-shared --enable-static --disable-libcurl-option --without-brotli --disable-manual --disable-unix-sockets --disable-dict --disable-file --disable-gopher --disable-imap --disable-smtp --disable-rtsp --disable-telnet --disable-tftp --disable-pop3 --without-zlib --disable-threaded-resolver --disable-ipv6 --disable-smb --disable-ntlm-wb --disable-tls-srp --disable-crypto-auth --without-ngtcp2 --without-nghttp2 --disable-ftp --disable-mqtt --disable-alt-svc --without-ssl
|
#LDFLAGS="-static" PKG_CONFIG="pkg-config --static" ./configure --disable-shared --enable-static --disable-libcurl-option --without-brotli --disable-manual --disable-unix-sockets --disable-dict --disable-file --disable-gopher --disable-imap --disable-smtp --disable-rtsp --disable-telnet --disable-tftp --disable-pop3 --without-zlib --disable-threaded-resolver --disable-ipv6 --disable-smb --disable-ntlm-wb --disable-tls-srp --disable-crypto-auth --without-ngtcp2 --without-nghttp2 --disable-ftp --disable-mqtt --disable-alt-svc --without-ssl
|
||||||
|
|
||||||
LDFLAGS="-static" PKG_CONFIG="pkg-config --static" ./configure --disable-shared --enable-static --disable-ldap --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2 --disable-docs --disable-manual --without-libpsl
|
LDFLAGS="-static" PKG_CONFIG="pkg-config --static" ./configure --disable-shared --enable-static --disable-ldap --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2
|
||||||
|
|
||||||
make -j4 V=1 LDFLAGS="-static -all-static"
|
make -j4 V=1 LDFLAGS="-static -all-static"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user