wsanchez    99/08/27 16:31:09

  Modified:    src/support apxs.pl
  Log:
  When apxs compiles a .o file, it cc puts it into the current working 
directory. But then we're looking for the .o file in the directory that 
contains the .c file, and the link line breaks. So lets remove the path to the 
.c file when adding to @objs.
  
  Revision  Changes    Path
  1.26      +1 -0      apache-1.3/src/support/apxs.pl
  
  Index: apxs.pl
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/apxs.pl,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- apxs.pl   1999/07/24 18:05:02     1.25
  +++ apxs.pl   1999/08/27 23:31:00     1.26
  @@ -369,6 +369,7 @@
       foreach $s (@srcs) {
           my $o = $s;
           $o =~ s|\.c$|.o|;
  +        $o =~ s|^.*/||;
           push(@cmds, "$CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c $s");
           unshift(@objs, $o);
       }
  
  
  

Reply via email to