From: Alexandre Oliva Date: Mon, 4 Sep 2000 01:17:40 +0000 (+0000) Subject: * ltmain.in (dlprefiles): Use dlname if it's available and X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8b271dddff00b6051a154d4f506dc7db635b6c;p=thirdparty%2Flibtool.git * ltmain.in (dlprefiles): Use dlname if it's available and old_library isn't; use linklib only if dlname is not available. --- diff --git a/ChangeLog b/ChangeLog index 71dfb438f..9c2373547 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-03 Alexandre Oliva + * ltmain.in (dlprefiles): Use dlname if it's available and + old_library isn't; use linklib only if dlname is not available. + * ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no. * ltmain.in (variables_saved_for_relink): Attempt to unset them diff --git a/ltmain.in b/ltmain.in index eaabfebae..cb51a4279 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1302,6 +1302,9 @@ compiler." # are required to link). if test -n "$old_library"; then dlprefiles="$dlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + dlprefiles="$dlprefiles $dir/$dlname" else dlprefiles="$dlprefiles $dir/$linklib" fi