mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 07:10:16 -07:00
30 lines
781 B
Bash
Executable File
30 lines
781 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# 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
|
|
|
|
./configure \
|
|
ac_cv_path_PERL=true \
|
|
--prefix=/usr \
|
|
--enable-ipv6 \
|
|
--enable-unix-sockets \
|
|
--enable-symbol-hiding \
|
|
--disable-manual \
|
|
--disable-ldap \
|
|
--disable-ares \
|
|
--with-openssl \
|
|
--with-pic \
|
|
--with-ca-fallback \
|
|
--without-librtmp \
|
|
--without-libpsl \
|
|
--without-libidn2 \
|
|
--without-brotli \
|
|
--without-zstd
|
|
|
|
make
|
|
make DESTDIR="$1" install
|