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

./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 LDFLAGS="$LDFLAGS -static"
make DESTDIR="$1" install