You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Harrie Hazewinkel <ha...@covalent.net> on 2001/05/01 15:19:35 UTC
[PATCH] apxs for 2.0
HI,
Attached is a path that fixes the missing linker
option for APXS. It would be appreciated if
it would be applied.
Harrie
--
phone: +39-3474932300
http://www.lisanza.net/
Re: [PATCH] apxs for 2.0
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
From: "Harrie Hazewinkel" <ha...@covalent.net>
Sent: Tuesday, May 01, 2001 8:19 AM
> Attached is a path that fixes the missing linker
> option for APXS. It would be appreciated if
> it would be applied.
Applied Harrie, thanks! I was wondering why my win32 fix for apxs made no sense when
I tried to port it from 1.3 to 2.0... this explained a lot :-)
Bill
> --- support/apxs.in-orig Tue May 1 15:10:15 2001
> +++ support/apxs.in Tue May 1 15:11:44 2001
> @@ -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);
>