# HG changeset patch # User John H. Kelm # Date 1121694589 0 # Node ID 35f2e6411966d2f1a66c82a3dd0a4097afd3c0c7 # Parent db8682734dabf0ae29ac57ef869ae29df2f2f647 [gaim-migrate @ 13176] The trick for getting the Perl plugin to load. committer: Tailor Script diff -r db8682734dab -r 35f2e6411966 plugins/perl/libgaimperl.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/perl/libgaimperl.c Mon Jul 18 13:49:49 2005 +0000 @@ -0,0 +1,6 @@ +void __attribute__ ((constructor)) my_init(void) { + /* Very evil hack...puts perl.so's symbols in the global table */ + /* but does not create a circular dependancy because g_module_open */ + /* will only open the library once. */ + g_module_open("perl.so", 0); +}