2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00
repo/core/curl/build

29 lines
754 B
Plaintext
Raw Normal View History

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-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 \
--without-libidn2 \
2021-11-11 04:05:22 +00:00
--without-brotli \
--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