Line
Link Here
|
0 |
-- binutils-2.21.51.0.7/bfd/configure.in |
0 |
++ binutils-2.21.51.0.7/bfd/configure.in |
Lines 31-37
Link Here
|
31 |
AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes") |
31 |
AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes") |
32 |
|
32 |
|
33 |
if test "$plugins" = "yes"; then |
33 |
if test "$plugins" = "yes"; then |
34 |
if test "$enable_dlopen" != "yes" ; then |
34 |
# Check for dlopen support |
|
|
35 |
has_dlopen=yes |
36 |
AC_CHECK_HEADER([dlfcn.h],[],[has_dlopen=no],[AC_INCLUDES_DEFAULT]) |
37 |
AC_SEARCH_LIBS([dlopen],[dl],[],[has_dlopen=no],[]) |
38 |
AC_CHECK_FUNCS([dlopen dlsym dlclose],[],[has_dlopen=no]) |
39 |
|
40 |
if test "$has_dlopen" != "yes" ; then |
35 |
AC_MSG_ERROR([ |
41 |
AC_MSG_ERROR([ |
36 |
Building BFD with plugin support requires a host that supports -ldl.]) |
42 |
Building BFD with plugin support requires a host that supports -ldl.]) |
37 |
fi |
43 |
fi |
38 |
-- binutils-2.21.51.0.7/bfd/Makefile.in |
44 |
++ binutils-2.21.51.0.7/bfd/Makefile.in |
Lines 336-342
Link Here
|
336 |
@INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la |
336 |
@INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la |
337 |
AM_CFLAGS = $(WARN_CFLAGS) |
337 |
AM_CFLAGS = $(WARN_CFLAGS) |
338 |
AM_CPPFLAGS = -DBINDIR='"$(bindir)"' |
338 |
AM_CPPFLAGS = -DBINDIR='"$(bindir)"' |
339 |
@PLUGINS_TRUE@LIBDL = -ldl |
|
|
340 |
|
339 |
|
341 |
# bfd.h goes here, for now |
340 |
# bfd.h goes here, for now |
342 |
BFD_H = bfd.h |
341 |
BFD_H = bfd.h |