elf2flt: new binutils pulls in a -ldl dependency

This commit is contained in:
Wolfgang Thaller 2015-08-29 02:20:31 +02:00
parent 715265c205
commit a158475540
2 changed files with 1970 additions and 2730 deletions

4581
elf2flt/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -107,6 +107,13 @@ if test "$ac_binutils_build_dir" != "NONE"; then
fi fi
dnl Checks for libraries. dnl Checks for libraries.
dnl The dlopen() function is in the C library for *BSD and in
dnl libdl on GLIBC-based systems
AC_SEARCH_LIBS([dlopen], [dl dld], [], [
AC_MSG_ERROR([unable to find the dlopen() function])
])
if test "$ac_libiberty" = "NONE"; then if test "$ac_libiberty" = "NONE"; then
AC_CHECK_LIB(iberty, objalloc_create) AC_CHECK_LIB(iberty, objalloc_create)
ac_libiberty=auto ac_libiberty=auto
@ -203,6 +210,8 @@ AC_CHECK_FUNCS([ \
strsignal \ strsignal \
]) ])
test "$GCC" = yes && CFLAGS="-Wall $CFLAGS" test "$GCC" = yes && CFLAGS="-Wall $CFLAGS"
dnl Subsitute values dnl Subsitute values