aboutsummaryrefslogtreecommitdiff
path: root/extra/links/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-05-30 17:39:04 +0200
committerCem Keylan <cem@ckyln.com>2022-05-30 17:39:04 +0200
commitf421d3e706d3b8619ffd8447b9174de929ca5750 (patch)
treef58df49883a6adfa3f74076860a5b7395080c65b /extra/links/build
parent660bcddeac9afd536f52cdc8cfbfc2b734fa363f (diff)
downloadrepository-f421d3e706d3b8619ffd8447b9174de929ca5750.tar.gz
links: bump to 2.27
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