Fixed LD_PRELOAD bug by forcing the global symbol table load.
authorBruno Abinader <bruno.abinader@openbossa.org>
Mon, 1 Jun 2009 23:28:37 +0000 (19:28 -0400)
committerBruno Abinader <bruno.abinader@openbossa.org>
Mon, 1 Jun 2009 23:33:32 +0000 (19:33 -0400)
commit63ae527a0939ee355fcbea3431bc78edebfaa413
tree2c0cdd944a0f21e1db462895959675389b2c574c
parentc2951f59ada56c74f666f005abd656d81e296593
Fixed LD_PRELOAD bug by forcing the global symbol table load.

By default, python isn't putting the purple.so or any dependency symbols
(oh hey, like libpurple.so!) in the global symbol table when loading it.
LD_PRELOAD works because the loader loads all libpurple's symbols before
python can. Thanks for darkrain42 for the help!

http://developer.pidgin.im/ticket/7872#comment:3

Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
nullclient-ecore.py
nullclient.py