aboutsummaryrefslogtreecommitdiff
path: root/core/curl/build
blob: 9b8775769613dca6cc83ea8999d6dc4e1837e23e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -e

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

make
make DESTDIR="$1" install
rm -f src/curl
make LDFLAGS=-all-static
clinst -Dm755 src/curl "$1/usr/bin/curl"