diff --git a/ChangeLog b/ChangeLog index 4fed60c7..bbd1fa3c 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 0b72a63c..831ec93f 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,