stas        2003/07/28 06:38:07

  Modified:    xs/APR/APR Makefile.PL
               .        Changes
  Log:
  make APR perl functions work outside mod_perl: several libraries
  weren't linked. Also LIBS needs to receive all libs in one
  string.
  
  Revision  Changes    Path
  1.9       +2 -2      modperl-2.0/xs/APR/APR/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/APR/APR/Makefile.PL,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile.PL       22 Mar 2003 07:21:37 -0000      1.8
  +++ Makefile.PL       28 Jul 2003 13:38:05 -0000      1.9
  @@ -5,7 +5,7 @@
   my $prefix = ModPerl::BuildMM::build_config()->apxs(-q => 'PREFIX');
   
   # XXX: this works only with libapr 0.9.2+ (not on win32)
  -my @libs = grep $_, map { -x $_ && qx{$_ --link-ld} }
  +my @libs = grep $_, map { -x $_ && qx{$_ --link-ld --libs} }
       map { qq{$prefix/bin/$_-config} } qw(apr apu);
   chomp @libs;
   
  @@ -14,6 +14,6 @@
   ModPerl::BuildMM::WriteMakefile(
       'NAME'      => 'APR',
       'VERSION_FROM' => 'APR.pm',
  -    'LIBS'         => [EMAIL PROTECTED],
  +    'LIBS'         => [join ' ', @libs],
       'DEFINE'       => $define,
   );
  
  
  
  1.198     +4 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.197
  retrieving revision 1.198
  diff -u -r1.197 -r1.198
  --- Changes   28 Jul 2003 10:33:59 -0000      1.197
  +++ Changes   28 Jul 2003 13:38:07 -0000      1.198
  @@ -12,6 +12,10 @@
   
   =item 1.99_10-dev
   
  +make APR perl functions work outside mod_perl: several libraries
  +weren't linked. Also LIBS needs to receive all libs in one
  +string. [Stas]
  +
   Apache::compat: $r->cgi_env, $r->cgi_var are now aliases to
   $r->subprocess_env [Stas]
   
  
  
  

Reply via email to