mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
Replace -ldl with @lt_cv_dlopen_libs@
* Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@. * configure.in (lt_cv_dlopen_libs): AC_SUBST. * Makefile.in: Regenerated. * configure: Likewise.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2012-10-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@.
|
||||||
|
* configure.in (lt_cv_dlopen_libs): AC_SUBST.
|
||||||
|
* Makefile.in: Regenerated.
|
||||||
|
* configure: Likewise.
|
||||||
|
|
||||||
2012-10-08 Alan Modra <amodra@gmail.com>
|
2012-10-08 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR binutils/14662
|
PR binutils/14662
|
||||||
|
@ -35,7 +35,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
|||||||
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
|
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
|
||||||
if PLUGINS
|
if PLUGINS
|
||||||
bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
|
bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
|
||||||
LIBDL = -ldl
|
LIBDL = @lt_cv_dlopen_libs@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# bfd.h goes here, for now
|
# bfd.h goes here, for now
|
||||||
|
@ -293,6 +293,7 @@ libdir = @libdir@
|
|||||||
libexecdir = @libexecdir@
|
libexecdir = @libexecdir@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
|
lt_cv_dlopen_libs = @lt_cv_dlopen_libs@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
oldincludedir = @oldincludedir@
|
oldincludedir = @oldincludedir@
|
||||||
@ -336,7 +337,7 @@ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
|
|||||||
@INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la
|
@INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la
|
||||||
AM_CFLAGS = $(WARN_CFLAGS)
|
AM_CFLAGS = $(WARN_CFLAGS)
|
||||||
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
|
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
|
||||||
@PLUGINS_TRUE@LIBDL = -ldl
|
@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
|
||||||
|
|
||||||
# bfd.h goes here, for now
|
# bfd.h goes here, for now
|
||||||
BFD_H = bfd.h
|
BFD_H = bfd.h
|
||||||
|
6
bfd/configure
vendored
6
bfd/configure
vendored
@ -606,6 +606,7 @@ havevecs
|
|||||||
tdefaults
|
tdefaults
|
||||||
bfd_ufile_ptr
|
bfd_ufile_ptr
|
||||||
bfd_file_ptr
|
bfd_file_ptr
|
||||||
|
lt_cv_dlopen_libs
|
||||||
supports_plugins
|
supports_plugins
|
||||||
bfd_default_target_size
|
bfd_default_target_size
|
||||||
bfd_machines
|
bfd_machines
|
||||||
@ -11414,7 +11415,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11417 "configure"
|
#line 11418 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -11520,7 +11521,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11523 "configure"
|
#line 11524 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -15633,6 +15634,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
||||||
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
||||||
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
|
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
|
||||||
|
@ -1100,6 +1100,7 @@ else
|
|||||||
supports_plugins=0
|
supports_plugins=0
|
||||||
fi
|
fi
|
||||||
AC_SUBST(supports_plugins)
|
AC_SUBST(supports_plugins)
|
||||||
|
AC_SUBST(lt_cv_dlopen_libs)
|
||||||
|
|
||||||
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
||||||
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
||||||
|
Reference in New Issue
Block a user