aboutsummaryrefslogtreecommitdiff
path: root/extra/links/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-10-05 14:31:03 +0200
committerCem Keylan <cem@ckyln.com>2024-10-05 14:31:03 +0200
commit0ebf75e3b6d517d032c4311b425c8ef982a3a917 (patch)
treea7b9766d33aedc85e91fc2475f820a91d175ae1e /extra/links/build
parent3f958f8133a362302fe10e5757f239b874050de7 (diff)
downloadrepository-0ebf75e3b6d517d032c4311b425c8ef982a3a917.tar.gz
links: bump to 2.30
Diffstat (limited to 'extra/links/build')
-rwxr-xr-xextra/links/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/links/build b/extra/links/build
index 94034772..6e2291c8 100755
--- a/extra/links/build
+++ b/extra/links/build
@@ -1,5 +1,7 @@
#!/bin/sh -e
+export LDFLAGS="$LDFLAGS -static"
+
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
@@ -10,5 +12,5 @@
printf '#undef HAVE_LIBBSD\n' >> config.h
clsed 's/-lbsd//' Makefile
-make LDFLAGS="$LDFLAGS -static"
+make
make DESTDIR="$1" install