httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/support apxs.in
Date Fri, 18 May 2001 19:34:50 GMT
wrowe       01/05/18 12:34:50

  Modified:    support  apxs.in
  Log:
    Return missing link flags to apxs.in
  
  Submitted by:	Harrie Hazewinkel <harrie@covalent.net>
  
  Revision  Changes    Path
  1.20      +15 -1     httpd-2.0/support/apxs.in
  
  Index: apxs.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/apxs.in,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- apxs.in	2001/04/27 20:57:38	1.19
  +++ apxs.in	2001/05/18 19:34:48	1.20
  @@ -392,8 +392,22 @@
       foreach $o (@objs) {
           $lo .= " $o";
       }
  +    my ($opt_Wl, $opt_L, $opt_l);
  +    foreach $opt_Wl (@opt_W) {
  +        if ($CFG_CC !~ m/gcc$/) {
  +            $opt .= " $1" if ($opt_Wl =~ m|^\s*l,(.*)$|);
  +        } else {
  +            $opt .= " -W$opt_Wl";
  +        }
  +    }
  +    foreach $opt_L (@opt_L) {
  +        $opt .= " -L$opt_L";
  +    }
  +    foreach $opt_l (@opt_l) {
  +        $opt .= " -l$opt_l";
  +    }
   
  -    push(@cmds, "libtool --silent --mode=link $CFG_CC $cflags -o $dso_file -rpath $CFG_LIBEXECDIR
-module -avoid-version $lo");
  +    push(@cmds, "libtool --silent --mode=link $CFG_CC $cflags -o $dso_file -rpath $CFG_LIBEXECDIR
-module -avoid-version $opt $lo");
   
       #   execute the commands
       &execute_cmds(@cmds);
  
  
  

Mime
View raw message