2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/core/curl/build

29 lines
741 B
Plaintext
Raw Normal View History

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-symbol-hiding \
2019-06-18 06:17:49 -06:00
--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 17:41:09 -07:00
--without-libpsl \
--without-libidn2 \
2021-11-10 21:05:22 -07:00
--without-brotli \
--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