aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index c3f79ec..5fcec52 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -2036,7 +2036,7 @@ if test $gdb_cv_var_elf = yes; then
[Define if ELF support should be included.])
# -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>.
if test "$plugins" = "yes"; then
- LIBS="-ldl $LIBS"
+ AC_SEARCH_LIBS(dlopen, dl)
fi
fi