summaryrefslogtreecommitdiffstats
path: root/packaging/makeself
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-11-07 10:49:50 +0200
committerGitHub <noreply@github.com>2023-11-07 10:49:50 +0200
commit09e51028184a206a2aaa25a7db0ede85cd6e5fcd (patch)
treed9d931ee79d669c2b83822a2c8df35fd8cf6acf9 /packaging/makeself
parentec8b59006f0d6c2ec0ecad55f299cae51d99a19b (diff)
fix zstd in static build (#16349)
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-xpackaging/makeself/jobs/70-netdata-git.install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/makeself/jobs/70-netdata-git.install.sh b/packaging/makeself/jobs/70-netdata-git.install.sh
index 62f0c822db..d0bddc1cac 100755
--- a/packaging/makeself/jobs/70-netdata-git.install.sh
+++ b/packaging/makeself/jobs/70-netdata-git.install.sh
@@ -12,7 +12,7 @@ else
export CFLAGS="-static -O1 -pipe -ggdb -Wall -Wextra -Wformat-signedness -DNETDATA_INTERNAL_CHECKS=1 -I/openssl-static/include -I/libnetfilter-acct-static/include/libnetfilter_acct -I/usr/include/libmnl"
fi
-export LDFLAGS="-Wl,--gc-sections -static -L/openssl-static/lib64 -L/libnetfilter-acct-static/lib -lnetfilter_acct -L/usr/lib -lmnl"
+export LDFLAGS="-Wl,--gc-sections -static -L/openssl-static/lib64 -L/libnetfilter-acct-static/lib -lnetfilter_acct -L/usr/lib -lmnl -L/usr/lib -lzstd"
# We export this to 'yes', installer sets this to .environment.
# The updater consumes this one, so that it can tell whether it should update a static install or a non-static one