Steve Hay wrote:

Yep - I agree. Your second patch (below) works fine for me.

Thanks Steve, committed


Index: lib/Apache/Build.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
retrieving revision 1.145
diff -u -r1.145 Build.pm
--- lib/Apache/Build.pm 6 Sep 2003 01:10:18 -0000       1.145
+++ lib/Apache/Build.pm 12 Sep 2003 17:00:07 -0000
@@ -1280,7 +1280,11 @@

my @libs;
for my $type (map { uc } keys %libs) {
- push @libs, $self->{"MODPERL_LIB_$type"} if $self->{"MP_USE_$type"};
+ next unless $self->{"MP_USE_$type"};
+ # on win32 mod_perl.lib must come after mod_perl.so
+ $type eq 'STATIC'
+ ? push @libs, $self->{"MODPERL_LIB_$type"}
+ : unshift @libs, $self->{"MODPERL_LIB_$type"};
}


print $fh $self->canon_make_attr('lib', "@libs");





--


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to