aboutsummaryrefslogtreecommitdiff
path: root/extra/links/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/links/build')
-rwxr-xr-xextra/links/build8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/links/build b/extra/links/build
index 51eedad9..94034772 100755
--- a/extra/links/build
+++ b/extra/links/build
@@ -1,12 +1,14 @@
#!/bin/sh -e
-export LDFLAGS="$LDFLAGS -static"
-
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--without-libevent \
--with-ssl
-make
+# 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