From fb682e5b8397dc48b5a66a4d0b92b4e14192ea43 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 16 Oct 1999 07:05:39 +0000 Subject: [PATCH] * libltdl/ltdl.c (lt_dlopen): Do not search paths when the specified library is not just a basename. --- ChangeLog | 5 +++++ libltdl/ltdl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4fed60c7d..bbd1fa3c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-10-16 Alexandre Oliva + + * libltdl/ltdl.c (lt_dlopen): Do not search paths when the + specified library is not just a basename. + 1999-10-10 Gary V. Vaughan * libtool.m4 (AC_PATH_FILE): new macro replaces diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 0b72a63c0..831ec93f1 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -1367,7 +1367,7 @@ lt_dlopen (filename) handle->deplibs = 0; newhandle = handle; if (tryall_dlopen(&newhandle, filename) - && (!dir + && (dir || (!find_file(basename, user_search_path, 0, &newhandle) && !find_file(basename, -- 2.47.3