2019-06-18 06:17:49 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./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 \
|
|
|
|
--without-zstd
|
2019-06-18 06:17:49 -06:00
|
|
|
|
2020-01-11 00:58:04 -07:00
|
|
|
make curl_LDFLAGS=-all-static
|
2019-06-18 06:17:49 -06:00
|
|
|
make DESTDIR="$1" install
|
2021-07-06 05:21:48 -06:00
|
|
|
|
|
|
|
# Remove library documentation.
|
|
|
|
rm -rf "$1/usr/share/man/man3"
|