mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Use correct cpp
macro name, LT_DLSEARCH_PATH.
This commit is contained in:
parent
5ecc2c7c3a
commit
23b9ddd8a3
@ -1,5 +1,8 @@
|
||||
2004-09-01 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Use correct cpp
|
||||
macro name, LT_DLSEARCH_PATH.
|
||||
|
||||
* libltdl/ltdl.c (lt_dlexit, tryall_dlopen): Fix gcc parentheses
|
||||
warning.
|
||||
(foreach_dirinpath, try_dlopen, lt_dlpath_insertdir): Fix gcc
|
||||
|
@ -1063,7 +1063,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename)
|
||||
file = find_file (search_path, base_name, &dir);
|
||||
}
|
||||
#endif
|
||||
#if defined(LT_SYS_DLSEARCH_PATH)
|
||||
#if defined(LT_DLSEARCH_PATH)
|
||||
if (!file && sys_dlsearch_path)
|
||||
{
|
||||
file = find_file (sys_dlsearch_path, base_name, &dir);
|
||||
@ -1260,7 +1260,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename)
|
||||
&& !find_handle (getenv (LT_MODULE_PATH_VAR), base_name,
|
||||
&newhandle)
|
||||
#endif
|
||||
#if defined(LT_SYS_DLSEARCH_PATH)
|
||||
#if defined(LT_DLSEARCH_PATH)
|
||||
&& !find_handle (sys_dlsearch_path, base_name, &newhandle)
|
||||
#endif
|
||||
)))
|
||||
@ -1627,7 +1627,7 @@ lt_dlforeachfile (const char *search_path,
|
||||
foreachfile_callback, func, data);
|
||||
}
|
||||
#endif
|
||||
#if defined(LT_SYS_DLSEARCH_PATH)
|
||||
#if defined(LT_DLSEARCH_PATH)
|
||||
if (!is_done && sys_dlsearch_path)
|
||||
{
|
||||
is_done = foreach_dirinpath (sys_dlsearch_path, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user