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:
parent
9ae52e8ae3
commit
794db6c084
@ -178,10 +178,6 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
|
|||||||
nsIFile* location,
|
nsIFile* location,
|
||||||
nsIModule** result)
|
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 :-)
|
PRBool bDidInitPython = !Py_IsInitialized(); // well, I will next line, anyway :-)
|
||||||
if (bDidInitPython) {
|
if (bDidInitPython) {
|
||||||
NS_TIMELINE_START_TIMER("PyXPCOM: Python initializing");
|
NS_TIMELINE_START_TIMER("PyXPCOM: Python initializing");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user