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, 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