https://bugs.gentoo.org/show_bug.cgi?id=347931 Replace -ldl with @lt_cv_dlopen_libs@ https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=3cf9e6c4081cb72b5630f4f47861d285c9e1438a diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 5718fab..7b0f863 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -293,6 +293,7 @@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ +lt_cv_dlopen_libs = @lt_cv_dlopen_libs@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -336,7 +337,7 @@ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ @INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la AM_CFLAGS = $(WARN_CFLAGS) AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -@PLUGINS_TRUE@LIBDL = -ldl +@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@ # bfd.h goes here, for now BFD_H = bfd.h diff --git a/bfd/configure b/bfd/configure index d81719d..fdf5356 100755 --- a/bfd/configure +++ b/bfd/configure @@ -606,6 +606,7 @@ havevecs tdefaults bfd_ufile_ptr bfd_file_ptr +lt_cv_dlopen_libs supports_plugins bfd_default_target_size bfd_machines