aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-09-27 11:42:32 -0700
committerFangrui Song <i@maskray.me>2022-09-27 11:42:32 -0700
commit382fa97ce0eb1119266607e2802fd29318ed2d78 (patch)
tree60423b2a4ee46a1802fedc05db9ffdf834567fc5 /sim/m4
parentf7aa1a5acc5faa03ed6c640a426ef70a5f328940 (diff)
downloadgdb-382fa97ce0eb1119266607e2802fd29318ed2d78.zip
gdb-382fa97ce0eb1119266607e2802fd29318ed2d78.tar.gz
gdb-382fa97ce0eb1119266607e2802fd29318ed2d78.tar.bz2
sim: Link ZSTD_LIBS
This fixes linker errors in a `../../configure --enable-targets --enable-sim; make all-gdb` build.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_platform.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m4/sim_ac_platform.m4 b/sim/m4/sim_ac_platform.m4
index aa91c42..a91b233 100644
--- a/sim/m4/sim_ac_platform.m4
+++ b/sim/m4/sim_ac_platform.m4
@@ -150,6 +150,7 @@ ZW_GNU_GETTEXT_SISTER_DIR
dnl BFD conditionally uses zlib, so we must link it in if libbfd does, by
dnl using the same condition.
AM_ZLIB
+AC_ZSTD
dnl BFD uses libdl when when plugins enabled.
AC_PLUGINS