]> granicus.if.org Git - apache/commitdiff
Allow apxs to be used to build DSOs on AIX without requiring the
authorJeff Trawick <trawick@apache.org>
Wed, 5 Dec 2001 03:02:45 +0000 (03:02 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 5 Dec 2001 03:02:45 +0000 (03:02 +0000)
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
support/apxs.in

diff --git a/CHANGES b/CHANGES
index 99ab70d76f5eb2cd147c457be903a98402140540..a8d536f84281e22eef5ff887358f77b099b5ffa2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
 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]
   
index 2ecb38417994db358453195873bf162ca51c4c2e..c3e2d2e7554a4d21fc5497c99e59d57fd24f5cca 100644 (file)
@@ -108,8 +108,8 @@ my $opt_q = 0;
 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;
@@ -437,6 +437,9 @@ if ($opt_c) {
         $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