]> git.wh0rd.org Git - elf2flt.git/commitdiff
dlopen is used by newer binutils, so check for it
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Tue, 5 Jan 2016 18:13:12 +0000 (19:13 +0100)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 6 Jan 2016 01:19:19 +0000 (11:19 +1000)
Add a check for dlopen to configure.ac

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
configure.ac

index 4e7df5a6ce5a8fb8e0ac0afbd1dda9aab8aa1742..eff8f686f7b12dffc0bf40eb8f9d53cb8a551771 100644 (file)
@@ -192,6 +192,7 @@ dnl redirect some functions to the system symbols, but other local symbols
 dnl come from libiberty/libbfd.
 dnl int getopt(int, char * const [], const char *) __asm("_" "getopt" "$UNIX2003");
 AC_CHECK_LIB(c, malloc, LIBS="-lc $LIBS")
+AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl")
 
 dnl Checks for header files.
 AC_HEADER_STDC