makefile.pl

来自「one of the linux gd libraries」· PL 代码 · 共 33 行

PL
33
字号
use ExtUtils::MakeMaker;use Config;use English;my $libs = "-lexpat";@extras = ();push(@extras, INC => "-I$expat_incpath")  if $expat_incpath;$libs = "-L$expat_libpath $libs"  if $expat_libpath;     push(@extras,     CAPI => 'TRUE')    if ($PERL_VERSION >= 5.005 and $OSNAME eq 'MSWin32'	and $Config{archname} =~ /-object\b/i);push(@extras,     ABSTRACT => "Lowlevel access to James Clark's expat XML parser",     AUTHOR        => 'Clark Cooper (coopercc@netheaven.com)')    if ($ExtUtils::MakeMaker::Version >= 5.4301);     WriteMakefile(              NAME	=> 'XML::Parser::Expat',	      C         => ['Expat.c'],	      LIBS	=> $libs,              XSPROTOARG => '-noprototypes',              VERSION_FROM => 'Expat.pm',	      @extras             );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?