Bugzilla bug 228899: pass the RTLD_MEMBER flag to dlopen on AIX so that we
can load a shared library that is a member of an archive. The patch was contributed by Michael Lew <mlew@us.ibm.com>. r=wtc. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH git-svn-id: svn://10.0.0.236/branches/NSPRPUB_PRE_4_2_CLIENT_BRANCH@151593 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1016,6 +1016,9 @@ pr_LoadLibraryByPathname(const char *name, PRIntn flags)
|
||||
#ifdef NTO
|
||||
/* Neutrino needs RTLD_GROUP to load Netscape plugins. (bug 71179) */
|
||||
int dl_flags = RTLD_GROUP;
|
||||
#elif defined(AIX)
|
||||
/* AIX needs RTLD_MEMBER to load an archive member. (bug 228899) */
|
||||
int dl_flags = RTLD_MEMBER;
|
||||
#else
|
||||
int dl_flags = 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user