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

sorted.  Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@188140 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mhammond%skippinet.com.au 2006-01-25 04:07:19 +00:00
parent 9ae52e8ae3
commit 794db6c084

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