--- IO-AIO/Makefile.PL 2006/05/08 17:10:27 1.9 +++ IO-AIO/Makefile.PL 2007/01/23 22:57:34 1.12 @@ -31,6 +31,26 @@ and die "\nconfigure failed, check it's output above and autoconf/config.log\n\n"; } +if ($^O =~ /linux/ && $Config{usemymalloc} eq "y") { + print <new({ dist => { PREOP => 'pod2text AIO.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', @@ -40,6 +60,9 @@ NAME => "IO::AIO", VERSION_FROM => "AIO.pm", LIBS => ['-lpthread -lrt', '-lpthread', '-lpthreads', ''], + PM => { + 'AIO.pm' => '$(INST_LIBDIR)/AIO.pm', + }, clean => { FILES => "autoconf/config.h autoconf/config.log autoconf/config.status" }, });