From: Alexandre Oliva Date: Mon, 4 Sep 2000 01:18:13 +0000 (+0000) Subject: * ltmain.in (newdlprefiles): Use dlname if it's available and X-Git-Tag: release-1-3d~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19b19ba7ae97587eb1175a56ee5f06ce90291076;p=thirdparty%2Flibtool.git * ltmain.in (newdlprefiles): 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 631eafa08..b779aaf17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-03 Alexandre Oliva + * ltmain.in (newdlprefiles): 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. * libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL. diff --git a/ltmain.in b/ltmain.in index dcd4fe4a7..5002ec25e 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1637,6 +1637,9 @@ compiler." # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi