X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FSocket%2FMakefile.PL;h=339c45a0a1a56de7bee12748b6ba8349c621aa23;hb=fcd41e8dd198cae69e67503098f9a2518f93b4e1;hp=f4850a0175653ff0fa20685afd99ff5a57ff754d;hpb=4ad3186eb5319bf0399d911b0a1f7d45dbe377c8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/Socket/Makefile.PL b/ext/Socket/Makefile.PL index f4850a0..339c45a 100644 --- a/ext/Socket/Makefile.PL +++ b/ext/Socket/Makefile.PL @@ -1,6 +1,9 @@ use ExtUtils::MakeMaker; +use Config; WriteMakefile( - VERSION => 1.5, - MAN3PODS => ' ', # Pods will be built by installman. - XSPROTOARG => '-noprototypes', # XXX remove later? + NAME => 'Socket', + VERSION_FROM => 'Socket.pm', + ($Config{libs} =~ /(-lsocks\S*)/ ? (LIBS => [ "$1" ] ) : ()), + MAN3PODS => {}, # Pods will be built by installman. + XSPROTOARG => '-noprototypes', # XXX remove later? );