aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-29 02:32:16 +0300
committerCem Keylan <cem@ckyln.com>2021-09-29 02:32:16 +0300
commit17b51d87cf3be54b4476c4cc62b6a3a4c5078848 (patch)
tree2a783ca3429b2b46761322bdd58c7f2a875e46ad /core
parentd346ad48b13686bcdcbc3dce6d7bdde5d692dbd3 (diff)
downloadrepository-17b51d87cf3be54b4476c4cc62b6a3a4c5078848.tar.gz
zstd: link binaries statically
Diffstat (limited to 'core')
-rwxr-xr-xcore/zstd/build3
-rw-r--r--core/zstd/version2
2 files changed, 3 insertions, 2 deletions
diff --git a/core/zstd/build b/core/zstd/build
index 28bda353..530e31bf 100755
--- a/core/zstd/build
+++ b/core/zstd/build
@@ -1,4 +1,5 @@
#!/bin/sh -e
-make PREFIX=/usr
+make PREFIX=/usr lib-release
+make PREFIX=/usr LDFLAGS="$LDFLAGS -static" zstd-release
make DESTDIR="$1" PREFIX=/usr install
diff --git a/core/zstd/version b/core/zstd/version
index 104216de..bf20d658 100644
--- a/core/zstd/version
+++ b/core/zstd/version
@@ -1 +1 @@
-1.5.0 1
+1.5.0 2