diff -burN ../orig/pidgin-2.4.1/libpurple/plugins/perl/common/Makefile.PL.in pidgin-2.4.1/libpurple/plugins/perl/common/Makefile.PL.in --- ../orig/pidgin-2.4.1/libpurple/plugins/perl/common/Makefile.PL.in 2008-03-31 13:21:23.000000000 -0400 +++ pidgin-2.4.1/libpurple/plugins/perl/common/Makefile.PL.in 2008-05-08 06:25:22.000000000 -0400 @@ -11,6 +11,7 @@ AUTHOR => 'Purple ') : ()), 'DEFINE' => '@DEBUG_CFLAGS@', 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple @GLIB_CFLAGS@', + 'LIBS' => '-lglib-2.0', # resolve g_* references 'OBJECT' => '$(O_FILES)', # link all the C files too # 'OPTIMIZE' => '-g', # For debugging ); diff -burN ../orig/pidgin-2.4.1/pidgin/plugins/perl/common/Makefile.PL.in pidgin-2.4.1/pidgin/plugins/perl/common/Makefile.PL.in --- ../orig/pidgin-2.4.1/pidgin/plugins/perl/common/Makefile.PL.in 2008-03-31 13:21:34.000000000 -0400 +++ pidgin-2.4.1/pidgin/plugins/perl/common/Makefile.PL.in 2008-05-08 06:28:20.000000000 -0400 @@ -12,5 +12,6 @@ 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple -I@top_srcdir@/pidgin @GTK_CFLAGS@', 'OBJECT' => '$(O_FILES)', # link all the C files too 'TYPEMAPS' => ["@top_srcdir@/libpurple/plugins/perl/common/typemap"], + 'LIBS' => '-glib-2.0', # resolve g_* symbols # 'OPTIMIZE' => '-g', # For debugging. );