1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-29 10:17:38 +01:00

Correct the configure check for -ldl.

Submitted by:	Arun Sharma <aruns@google.com>
This commit is contained in:
Konstantin Belousov 2010-03-31 23:01:46 +03:00
parent 9bb9c972e6
commit ad97600f75

View file

@ -25,7 +25,7 @@ dnl Checks for libraries.
AC_CHECK_LIB(uca, __uc_get_grs) AC_CHECK_LIB(uca, __uc_get_grs)
AC_CHECK_LIB(util, kinfo_getvmmap) AC_CHECK_LIB(util, kinfo_getvmmap)
OLD_LIBS=${LIBS} OLD_LIBS=${LIBS}
AC_SEARCH_LIBS(dl, dlopen) AC_SEARCH_LIBS(dlopen, dl)
LIBS=${OLD_LIBS} LIBS=${OLD_LIBS}
case "$ac_cv_search_dlopen" in case "$ac_cv_search_dlopen" in
-l*) DLLIB=$ac_cv_search_dlopen;; -l*) DLLIB=$ac_cv_search_dlopen;;