diff --git a/ChangeLog b/ChangeLog index 0c32c6a2..597d159c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-03-24 Scott James Remnant + + * libltdl/ltdl.c (sys_dl_open): Don't load libraries with global + symbol resolution. + * NEWS: Updated. + 2004-03-24 Albert Chin-A-Young * m4/libtool.m4: Add new variable, inherit_rpath, if the diff --git a/NEWS b/NEWS index 3b2287c6..0d7c25a4 100644 --- a/NEWS +++ b/NEWS @@ -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. diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index ed7239da..4efb808d 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -1033,17 +1033,6 @@ lt_estrdup (str) # include #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) {