mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
even when deplibs are not used because of the patch below.
This commit is contained in:
parent
482d62add6
commit
230d659fcc
@ -1,4 +1,7 @@
|
||||
2001-02-01 Gary V. Vaughan <gvv@techie.com>
|
||||
2001-02-02 Gary V. Vaughan <gvv@techie.com>
|
||||
|
||||
* libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
|
||||
even when deplibs are not used because of the patch below.
|
||||
|
||||
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host
|
||||
architecture automatically loads deplibs, then...
|
||||
|
@ -1565,17 +1565,18 @@ load_deplibs(handle, deplibs)
|
||||
lt_dlhandle handle;
|
||||
char *deplibs;
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
#if LTDL_DLOPEN_DEPLIBS
|
||||
|
||||
char *p, *save_search_path;
|
||||
int depcount = 0;
|
||||
int i;
|
||||
char **names = 0;
|
||||
#endif
|
||||
int ret = 0;
|
||||
|
||||
ret = 1;
|
||||
handle->depcount = 0;
|
||||
|
||||
#if LTDL_DLOPEN_DEPLIBS
|
||||
ret = 1;
|
||||
if (!deplibs)
|
||||
{
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user