mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Replace hardcoded -ldl with check for availability
2013-05-17 Pavel Chupin <pavel.v.chupin@intel.com> * acinclude.m4: Add check for dlopen in libdl. * configure.ac: Ditto. * configure: Regenerate.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user