# define RTLD_LAZY 1
#endif /* RTLD_LAZY isn't defined under FreeBSD - ick */
-#ifndef RTLD_GLOBAL
-# define RTLD_GLOBAL 0
-#endif
-
#ifndef RTLD_NOW
# define RTLD_NOW 2
#endif
dll_handle
dll_open (const char *fname)
{
- return (dll_handle) dlopen (fname, RTLD_NOW | RTLD_GLOBAL);
+ return (dll_handle) dlopen (fname, RTLD_NOW);
}
int