Index: pidgin-2.7.3/libpurple/plugins/perl/common/Makefile.PL.in =================================================================== --- pidgin-2.7.3.orig/libpurple/plugins/perl/common/Makefile.PL.in +++ pidgin-2.7.3/libpurple/plugins/perl/common/Makefile.PL.in @@ -10,6 +10,7 @@ WriteMakefile( (ABSTRACT_FROM => '@srcdir@/Purple.pm', # finds $ABSTRACT AUTHOR => 'Purple ') : ()), 'DEFINE' => '@DEBUG_CFLAGS@', + 'dynamic_lib' => { 'OTHERLDFLAGS' => '@LDFLAGS@' }, 'INC' => '-I. -I@srcdir@ -I@top_srcdir@ -I@top_srcdir@/libpurple @GLIB_CFLAGS@', 'OBJECT' => '$(O_FILES)', # link all the C files too # 'OPTIMIZE' => '-g', # For debugging Index: pidgin-2.7.3/pidgin/plugins/perl/common/Makefile.PL.in =================================================================== --- pidgin-2.7.3.orig/pidgin/plugins/perl/common/Makefile.PL.in +++ pidgin-2.7.3/pidgin/plugins/perl/common/Makefile.PL.in @@ -12,7 +12,7 @@ WriteMakefile( '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"], -# 'OPTIMIZE' => '-g', # For debugging. + 'OPTIMIZE' => '@CFLAGS@ @LDFLAGS@', 'INSTALLDIRS' => 'vendor', 'INSTALL_BASE' => '$(prefix)', 'INSTALLVENDORARCH' => '$(libdir)/pidgin/perl',