changeset 31555:4f89666c8d81

Make perl bindings respect LDFLAGS. Fixes #12638. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author pva@gentoo.org
date Sat, 08 Jan 2011 02:34:47 +0000
parents a063e2a804ff
children 4b101cad58e7
files COPYRIGHT ChangeLog libpurple/plugins/perl/common/Makefile.PL.in pidgin/plugins/perl/common/Makefile.PL.in
diffstat 4 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Sat Jan 08 02:16:41 2011 +0000
+++ b/COPYRIGHT	Sat Jan 08 02:34:47 2011 +0000
@@ -540,6 +540,7 @@
 Andrew Victor
 Jorge VillaseƱor (Masca)
 Bjoern Voigt
+Peter Volkov
 Wan Hing Wah
 Philip Walford
 Nathan Walp
--- a/ChangeLog	Sat Jan 08 02:16:41 2011 +0000
+++ b/ChangeLog	Sat Jan 08 02:34:47 2011 +0000
@@ -7,6 +7,7 @@
 	  (half of #13095)
 	* Starting multiple video calls and ending one no longer causes the other
 	  calls to stop sending audio and video. (Jakub Adam) (#12758)
+	* Perl bindings now respect LDFLAGS. (Peter Volkov) (#12638)
 
 	IRC:
 	* Don't send ISON messages longer than 512 bytes. (Jeffrey Honig) (#9692)
--- a/libpurple/plugins/perl/common/Makefile.PL.in	Sat Jan 08 02:16:41 2011 +0000
+++ b/libpurple/plugins/perl/common/Makefile.PL.in	Sat Jan 08 02:34:47 2011 +0000
@@ -10,6 +10,7 @@
       (ABSTRACT_FROM    => '@srcdir@/Purple.pm', # finds $ABSTRACT
        AUTHOR           => 'Purple <http://pidgin.im/>') : ()),
     '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
--- a/pidgin/plugins/perl/common/Makefile.PL.in	Sat Jan 08 02:16:41 2011 +0000
+++ b/pidgin/plugins/perl/common/Makefile.PL.in	Sat Jan 08 02:34:47 2011 +0000
@@ -9,6 +9,7 @@
       ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT
        'AUTHOR'        => 'Pidgin <http://pidgin.im/>') :  ()),
     'DEFINE'        => '@DEBUG_CFLAGS@',
+    'dynamic_lib'       => { 'OTHERLDFLAGS' => '@LDFLAGS@' },
     '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"],