mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Remove dlopen no longer necessary now we have the dynamic python issue
sorted. Not part of the build.
This commit is contained in:
parent
7227bd8be1
commit
1629eb8660
@ -178,10 +178,6 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
|
||||
nsIFile* location,
|
||||
nsIModule** result)
|
||||
{
|
||||
#ifdef XP_UNIX
|
||||
// *sob* - seems necessary to open the .so as RTLD_GLOBAL
|
||||
dlopen(PYTHON_SO,RTLD_NOW | RTLD_GLOBAL);
|
||||
#endif
|
||||
PRBool bDidInitPython = !Py_IsInitialized(); // well, I will next line, anyway :-)
|
||||
if (bDidInitPython) {
|
||||
NS_TIMELINE_START_TIMER("PyXPCOM: Python initializing");
|
||||
|
Loading…
Reference in New Issue
Block a user