зеркало из https://github.com/mozilla/pjs.git
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.
This commit is contained in:
Родитель
6285c9b7a2
Коммит
ce7e27f964
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче