diff --git a/core/curl/build b/core/curl/build index 7c25ea12..637ee348 100755 --- a/core/curl/build +++ b/core/curl/build @@ -1,5 +1,12 @@ #!/bin/sh -e +# Upstream recently broke static linking. It is still supported via LDFLAGS but +# this disables output of the shared library. This sed call adds -all-static to +# the curl commands' compilation (keeping libraries in tact). +# See: https://github.com/curl/curl/issues/7475 +sed 's/\(curl_LDADD =\)/\1 -all-static/' src/Makefile.in > _ +mv -f _ src/Makefile.in + ./configure \ --prefix=/usr \ --enable-ipv6 \ @@ -18,5 +25,5 @@ --without-libidn2 \ --without-zstd -make curl_LDFLAGS=-all-static +make make install diff --git a/core/curl/version b/core/curl/version index 3fdadf66..d281c409 100644 --- a/core/curl/version +++ b/core/curl/version @@ -1 +1 @@ -7.78.0 1 +7.78.0 2