View | Details | Raw Unified | Return to bug 47691
Collapse All | Expand All

(-)a/support/apxs.in.orig (-2 / +2 lines)
Lines 408-414 Link Here
408
        $la =~ s|\.c$|.la|;
408
        $la =~ s|\.c$|.la|;
409
        my $o = $s;
409
        my $o = $s;
410
        $o =~ s|\.c$|.o|;
410
        $o =~ s|\.c$|.o|;
411
        push(@cmds, "$libtool $ltflags --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $apr_includedir $apu_includedir $opt -c -o $lo $s && touch $slo");
411
        push(@cmds, "$libtool $ltflags --mode=compile --tag=CC $CFG_CC $cflags -I$CFG_INCLUDEDIR $apr_includedir $apu_includedir $opt -c -o $lo $s && touch $slo");
412
        unshift(@objs, $lo);
412
        unshift(@objs, $lo);
413
    }
413
    }
414
414
Lines 445-451 Link Here
445
        $opt .= " -rpath $CFG_LIBEXECDIR -module -avoid-version $apr_ldflags";
445
        $opt .= " -rpath $CFG_LIBEXECDIR -module -avoid-version $apr_ldflags";
446
    }
446
    }
447
447
448
    push(@cmds, "$libtool $ltflags --mode=link $CFG_CC -o $dso_file $opt $lo");
448
    push(@cmds, "$libtool $ltflags --mode=link --tag=CC $CFG_CC -o $dso_file $opt $lo");
449
449
450
    #   execute the commands
450
    #   execute the commands
451
    &execute_cmds(@cmds);
451
    &execute_cmds(@cmds);

Return to bug 47691