diff options
author | wtc%netscape.com <devnull@localhost> | 2001-10-17 23:34:50 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-10-17 23:34:50 +0000 |
commit | 1f17363d6e918c38d882fde46a9fcc86b549e226 (patch) | |
tree | f7ae9d58130756f8f1194b17e06535c42ccbf298 | |
parent | 90054d88b10bbf4929db38dc569c31ec4c66e5db (diff) | |
download | nspr-hg-1f17363d6e918c38d882fde46a9fcc86b549e226.tar.gz |
Bugzilla bug 71179: Neutrino needs the RTLD_GROUP flag to load Netscape
plugins. The fix is contributed by timeless@bemail.org.
-rw-r--r-- | pr/src/linking/prlink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pr/src/linking/prlink.c b/pr/src/linking/prlink.c index 8d3a79ca..ca55a9fb 100644 --- a/pr/src/linking/prlink.c +++ b/pr/src/linking/prlink.c @@ -748,7 +748,12 @@ pr_LoadLibraryByPathname(const char *name, PRIntn flags) #ifdef HAVE_DLL { #if defined(USE_DLFCN) +#ifdef NTO + /* Neutrino needs RTLD_GROUP to load Netscape plugins. (bug 71179) */ + int dl_flags = RTLD_GROUP; +#else int dl_flags = 0; +#endif void *h; if (flags & PR_LD_LAZY) { |