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:
@@ -236,6 +236,10 @@ _gss_load_mech(void)
|
|||||||
if (!name || !oid || !lib || !kobj)
|
if (!name || !oid || !lib || !kobj)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
#ifndef RTLD_LOCAL
|
||||||
|
#define RTLD_LOCAL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
so = dlopen(lib, RTLD_LOCAL);
|
so = dlopen(lib, RTLD_LOCAL);
|
||||||
if (!so) {
|
if (!so) {
|
||||||
/* fprintf(stderr, "dlopen: %s\n", dlerror()); */
|
/* fprintf(stderr, "dlopen: %s\n", dlerror()); */
|
||||||
|
Reference in New Issue
Block a user