* libltdl/ltdl.c (sys_dl_open): Don't load libraries with global

symbol resolution.
* NEWS: Updated.
This commit is contained in:
Scott James Remnant 2004-03-24 04:00:46 +00:00
parent 2b1486a8c4
commit 0a94ff3131
3 changed files with 8 additions and 12 deletions

View File

@ -1,3 +1,9 @@
2004-03-24 Scott James Remnant <scott@netsplit.com>
* libltdl/ltdl.c (sys_dl_open): Don't load libraries with global
symbol resolution.
* NEWS: Updated.
2004-03-24 Albert Chin-A-Young <china@thewrittenword.com>
* m4/libtool.m4: Add new variable, inherit_rpath, if the

1
NEWS
View File

@ -37,6 +37,7 @@ New in 1.5b: 2004-??-??; CVS version 1.5a, Libtool team:
* Speed up max_cmd_len check.
* New function in libltdl: lt_dlhandle_find provides access to module handles
by module name.
* libltdl no longer loads shared libraries with global symbol resolution.
* make install now deletes preexisting $prefix/share/libtool before installing
latest files.
* Extracting symbols from an import library on cygwin and win32 now works.

View File

@ -1033,17 +1033,6 @@ lt_estrdup (str)
# include <sys/dl.h>
#endif
#ifdef RTLD_GLOBAL
# define LT_GLOBAL RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
# define LT_GLOBAL DL_GLOBAL
# endif
#endif /* !RTLD_GLOBAL */
#ifndef LT_GLOBAL
# define LT_GLOBAL 0
#endif /* !LT_GLOBAL */
/* We may have to define LT_LAZY_OR_NOW in the command line if we
find out it does not work in some platform. */
#ifndef LT_LAZY_OR_NOW
@ -1079,7 +1068,7 @@ sys_dl_open (loader_data, filename)
lt_user_data loader_data;
const char *filename;
{
lt_module module = dlopen (filename, LT_GLOBAL | LT_LAZY_OR_NOW);
lt_module module = dlopen (filename, LT_LAZY_OR_NOW);
if (!module)
{