Compare commits
20 Commits
Author | SHA1 | Date |
---|---|---|
Travis Burtrum | 94cc8aa442 | |
Travis Burtrum | 66625fb6f7 | |
Travis Burtrum | 64d5511d1c | |
Travis Burtrum | 577ac478eb | |
Travis Burtrum | a86e6437e7 | |
Travis Burtrum | 9eaa52035a | |
Travis Burtrum | c63121a242 | |
Travis Burtrum | 2ff097f26e | |
Travis Burtrum | 78abf9e15c | |
Travis Burtrum | 16d6464e9e | |
Travis Burtrum | aa2336a78d | |
Travis Burtrum | d17a1d8e4d | |
Travis Burtrum | 787ce283a4 | |
Travis Burtrum | 71dab8c01f | |
Travis Burtrum | a9177ae6f1 | |
Travis Burtrum | 9e3047c979 | |
Travis Burtrum | 382793c189 | |
Travis Burtrum | 7f0eec176f | |
Travis Burtrum | 137c4531dc | |
Travis Burtrum | 041bde24ee |
|
@ -9,6 +9,7 @@ Grab the [latest release](https://github.com/moparisthebest/static-curl/releases
|
|||
- [curl-i386](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-i386)
|
||||
- [curl-aarch64](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-aarch64)
|
||||
- [curl-armv7](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-armv7)
|
||||
- [curl-armhf](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-armhf)
|
||||
- [curl-ppc64le](https://github.com/moparisthebest/static-curl/releases/latest/download/curl-ppc64le)
|
||||
|
||||
Static binaries for windows are provided directly by [curl](https://curl.haxx.se/windows/) itself.
|
||||
|
|
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=ARCH_HERE ALPINE_IMAGE_HERE /tmp/build.sh
|
||||
|
||||
CURL_VERSION='7.79.0'
|
||||
CURL_VERSION='8.7.1'
|
||||
|
||||
[ "$1" != "" ] && CURL_VERSION="$1"
|
||||
|
||||
|
@ -32,7 +32,7 @@ tar xzf curl-${CURL_VERSION}.tar.gz
|
|||
cd curl-${CURL_VERSION}/
|
||||
|
||||
# dependencies to build curl
|
||||
apk add build-base clang openssl-dev nghttp2-dev nghttp2-static libssh2-dev libssh2-static
|
||||
apk add build-base clang openssl-dev nghttp2-dev nghttp2-static libssh2-dev libssh2-static perl
|
||||
|
||||
# these are missing on at least armhf
|
||||
apk add openssl-libs-static zlib-static || true
|
||||
|
@ -49,7 +49,7 @@ export CC=clang
|
|||
# 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-ldap --enable-ipv6 --enable-unix-sockets --with-ssl --with-libssh2
|
||||
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
|
||||
|
||||
make -j4 V=1 LDFLAGS="-static -all-static"
|
||||
|
||||
|
|
Loading…
Reference in New Issue