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