mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 14:35:32 +00:00
fix zstd in static build (#16349)
This commit is contained in:
parent
ec8b59006f
commit
09e5102818
2 changed files with 2 additions and 2 deletions
|
@ -568,7 +568,7 @@ AC_CHECK_LIB(
|
|||
# -----------------------------------------------------------------------------
|
||||
# zstd
|
||||
|
||||
AC_CHECK_LIB([zstd], [ZSTD_createCStream, ZSTD_compressStream, ZSTD_decompressStream, ZSTD_createDStream],
|
||||
AC_CHECK_LIB([zstd], [ZSTD_createCStream, ZSTD_createDStream],
|
||||
[LIBZSTD_FOUND=yes],
|
||||
[LIBZSTD_FOUND=no])
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue