From: Gary V. Vaughan Date: Mon, 23 Apr 2001 00:34:53 +0000 (+0000) Subject: * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while X-Git-Tag: release-1-4~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c23b107bc6f7ef997bf6384af836cce14a2f60f;p=thirdparty%2Flibtool.git * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while checking for dlsym _. From Simon Spero --- diff --git a/ChangeLog b/ChangeLog index 9cbbbecdf..fe7ab9f5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-04-23 Gary V. Vaughan + From Simon Spero + * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while + checking for dlsym _. + From Simon Spero * libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it! diff --git a/ltdl.m4 b/ltdl.m4 index 0cf219040..03f615081 100644 --- a/ltdl.m4 +++ b/ltdl.m4 @@ -266,9 +266,12 @@ if test x"$ac_cv_sys_symbol_underscore" = xyes; then AC_CACHE_CHECK([whether we have to add an underscore for dlsym], libltdl_cv_need_uscore, [dnl libltdl_cv_need_uscore=unknown + save_LIBS="$LIBS" + LIBS="$LIBS $LIBADD_DL" _LT_AC_TRY_DLOPEN_SELF( libltdl_cv_need_uscore=no, libltdl_cv_need_uscore=yes, [], libltdl_cv_need_uscore=cross) + LIBS="$save_LIBS" ]) fi fi