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 \
|
2024-06-01 20:49:19 +00:00
|
|
|
ac_cv_path_PERL=true \
|
2019-06-18 12:17:49 +00:00
|
|
|
--prefix=/usr \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--enable-unix-sockets \
|
2022-06-21 18:37:36 +00:00
|
|
|
--enable-symbol-hiding \
|
2019-06-18 12:17:49 +00:00
|
|
|
--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-21 00:41:09 +00:00
|
|
|
--without-libpsl \
|
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
|
2023-03-02 14:40:00 +00:00
|
|
|
make DESTDIR="$1" install
|