#!/bin/sh -e

./configure \
    --prefix=/usr \
    --enable-ipv6 \
    --enable-unix-sockets \
    --enable-hidden-symbols \
    --without-libidn \
    --without-libidn2 \
    --disable-manual \
    --disable-ldap \
    --disable-ares \
    --without-libidn \
    --without-librtmp \
    --without-icu \
    --without-libpsl \
    --with-openssl \
    --without-zstd \
    --with-pic

make curl_LDFLAGS=-all-static
make DESTDIR="$1" install