user to hard-code the list of import files. (This should help
on OS/390 and BeOS as well.)
Trivial change: just stick the value of SH_LDFLAGS on the
libtool --mode=link line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92327
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.30-dev
+ *) Allow apxs to be used to build DSOs on AIX without requiring the
+ user to hard-code the list of import files. (This should help
+ on OS/390 and BeOS as well.) [Jeff Trawick]
+
*) Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
PR 8563, 8919 [William Rowe]
my $opt_h = 0;
# this subroutine is derived from Perl's getopts.pl with the enhancement of
-# the "+" metacharater at the format string to allow a list to be build by
-# subsequent occurance of the same option.
+# the "+" metacharacter at the format string to allow a list to be built by
+# subsequent occurrences of the same option.
sub Getopts {
my ($argumentative, @ARGV) = @_;
my $errs = 0;
$opt .= " -l$opt_l";
}
+ # special DSO settings on a few platforms
+ $opt .= " $config_vars{'SH_LDFLAGS'}";
+
push(@cmds, "$prefix/build/libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo");
# execute the commands