aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-01-01 17:24:18 +0300
committerCem Keylan <cem@ckyln.com>2021-01-01 17:24:18 +0300
commitad6a08016eb298d1ecc33972bbb3f8cf33ce3214 (patch)
tree02643fdfac1a4339da8ba2933511ddc96887d172 /extra/libarchive/build
parentf6602306560cdde1a6710d134e69ae09e110b61b (diff)
downloadrepository-ad6a08016eb298d1ecc33972bbb3f8cf33ce3214.tar.gz
libarchive: bump to 3.5.1
Diffstat (limited to 'extra/libarchive/build')
-rwxr-xr-xextra/libarchive/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/libarchive/build b/extra/libarchive/build
index 6e30984c..d069befd 100755
--- a/extra/libarchive/build
+++ b/extra/libarchive/build
@@ -7,7 +7,10 @@
--without-xml2 \
--without-expat
-make
+# Link binaries statically
+make bsdtar_LDFLAGS=-all-static \
+ bsdcat_LDFLAGS=-all-static \
+ bsdcpio_LDFLAGS=-all-static
make DESTDIR="$1" install
ln -s bsdcat "$1/usr/bin/cat"