Remove dlopen no longer necessary now we have the dynamic python issue

sorted.  Not part of the build.
This commit is contained in:
mhammond%skippinet.com.au 2006-01-25 04:07:19 +00:00
parent 7227bd8be1
commit 1629eb8660

View File

@ -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");