pidgin/plugins/perl/common/Makefile.PL.in

Wed, 27 Aug 2008 14:12:19 +0000

author
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
date
Wed, 27 Aug 2008 14:12:19 +0000
branch
soc.2008.masterpassword
changeset 34015
c16d341cbf8c
parent 16529
1d0da9270ff9
child 18068
b6554e3c8224
child 27584
134e07aa6f64
permissions
-rw-r--r--

Fixed a likely cause for the heap corruption in ok_account_prefs_cb(), as well
as a memory leak. It was because I freed the original instead of the copy.
See diff for details.

use 5.006;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence the contents
# of the Makefile that is written.
WriteMakefile(
    'NAME'             => 'Pidgin',
    'VERSION_FROM'     => '@srcdir@/Pidgin.pm', # finds $VERSION
    ($] >= 5.005 ? ## Add these new keywords supported since 5.005
      ('ABSTRACT_FROM' => '@srcdir@/Pidgin.pm', # finds $ABSTRACT
       'AUTHOR'        => 'Pidgin <http://pidgin.im/>') :  ()),
    'DEFINE'        => '@DEBUG_CFLAGS@',
    '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.
);

mercurial