define RTLD_LOCAL to 0 if not defined.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18372 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-09 11:13:30 +00:00
parent 9951fbde26
commit 3e5e6f9926

View File

@@ -236,6 +236,10 @@ _gss_load_mech(void)
if (!name || !oid || !lib || !kobj)
continue;
#ifndef RTLD_LOCAL
#define RTLD_LOCAL 0
#endif
so = dlopen(lib, RTLD_LOCAL);
if (!so) {
/* fprintf(stderr, "dlopen: %s\n", dlerror()); */