aboutsummaryrefslogtreecommitdiff
path: root/extra/links/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/links/build')
-rwxr-xr-xextra/links/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/links/build b/extra/links/build
index 51eedad9..6e2291c8 100755
--- a/extra/links/build
+++ b/extra/links/build
@@ -8,5 +8,9 @@ export LDFLAGS="$LDFLAGS -static"
--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