aboutsummaryrefslogtreecommitdiff
path: root/extra/links/build
blob: 6e2291c86854675b29c816d8e4735c92c7c3a215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --mandir=/usr/share/man \
    --without-libevent \
    --with-ssl

# We don't need libbsd, there is no way to disable it from
printf '#undef HAVE_LIBBSD\n' >> config.h
clsed 's/-lbsd//' Makefile

make
make DESTDIR="$1" install