aboutsummaryrefslogtreecommitdiff
path: root/extra/wget/build
blob: 6755ed24b541971187269e0332c3e6a778f9b76f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e

export PKG_CONFIG="pkgconf --static"

./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --disable-nls \
    --disable-rpath \
    --without-libpsl \
    --without-libpcre \
    --without-libpcre2 \
    --without-gpgme \
    --without-libnghttp2 \
    --without-libmicrohttpd \
    --without-plugin-support \
    --with-ssl=openssl

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