2019-06-18 12:17:49 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-08-23 03:56:42 +00:00
|
|
|
# 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
|
|
|
|
|
2019-06-18 12:17:49 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--enable-unix-sockets \
|
|
|
|
--enable-hidden-symbols \
|
|
|
|
--disable-manual \
|
|
|
|
--disable-ldap \
|
|
|
|
--disable-ares \
|
2021-06-30 10:22:07 +00:00
|
|
|
--with-openssl \
|
|
|
|
--with-pic \
|
|
|
|
--with-ca-fallback \
|
2019-06-18 12:17:49 +00:00
|
|
|
--without-librtmp \
|
2020-01-20 23:41:10 +00:00
|
|
|
--without-icu \
|
2020-01-21 00:41:09 +00:00
|
|
|
--without-libpsl \
|
2021-06-30 10:22:07 +00:00
|
|
|
--without-libidn \
|
2021-07-06 11:21:48 +00:00
|
|
|
--without-libidn2 \
|
2021-11-11 04:05:22 +00:00
|
|
|
--without-brotli \
|
2021-07-06 11:21:48 +00:00
|
|
|
--without-zstd
|
2019-06-18 12:17:49 +00:00
|
|
|
|
2021-08-23 03:56:42 +00:00
|
|
|
make
|
2021-07-15 08:58:42 +00:00
|
|
|
make install
|