aboutsummaryrefslogtreecommitdiff
path: root/extra/libarchive/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-01-02 03:18:08 +0300
committerCem Keylan <cem@ckyln.com>2021-01-02 03:18:08 +0300
commit3ef23b9962195c9ed482b3a3aba52222cccdb2ab (patch)
tree8e515aad68addfdbb90812ffe4fc73c95afb9bc3 /extra/libarchive/build
parentac7e7ff425d94b89f08b2b388ffe508b71acb5a4 (diff)
parentc1677297e7977cfa5f5ecae32a752839591ed78a (diff)
downloadrepository-helpers.tar.gz
Merge branch 'master' into helpershelpers
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"