symbol resolution.
* NEWS: Updated.
+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
* 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.
# 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
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)
{