aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rwxr-xr-xcore/xz/build12
-rw-r--r--core/xz/version2
2 files changed, 13 insertions, 1 deletions
diff --git a/core/xz/build b/core/xz/build
index 6daf22f8..606cc351 100755
--- a/core/xz/build
+++ b/core/xz/build
@@ -5,3 +5,15 @@
make
make DESTDIR="$1" install
+
+# Link the binaries statically
+cd src
+rm -f xz/xz lzmainfo/lzmainfo xzdec/lzmadec xzdec/xzdec
+
+make LDFLAGS=-all-static -C xz
+make LDFLAGS=-all-static -C lzmainfo
+make LDFLAGS=-all-static -C xzdec
+
+for bin in xz/xz lzmainfo/lzmainfo xzdec/lzmadec xzdec/xzdec; do
+ clinst -m755 "$bin" "$1/usr/bin/${bin##*/}"
+done
diff --git a/core/xz/version b/core/xz/version
index a1938eb9..dde85f89 100644
--- a/core/xz/version
+++ b/core/xz/version
@@ -1 +1 @@
-5.2.5 3
+5.2.5 4