]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
We need to use the APR-generated libtool for building modules.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 23 Sep 2001 18:01:15 +0000 (18:01 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 23 Sep 2001 18:01:15 +0000 (18:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91118 13f79535-47bb-0310-9956-ffa450edef68

support/apxs.in

index 5632271e4a3f537e286f71c6e521ee95358f747c..c17dc7e2b1138e498c84b6c6005d71d4f9fbfa96 100644 (file)
@@ -412,7 +412,7 @@ if ($opt_c) {
         $la =~ s|\.c$|.la|;
         my $o = $s;
         $o =~ s|\.c$|.o|;
-        push(@cmds, "libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo");
+        push(@cmds, "$prefix/build/libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo");
         unshift(@objs, $lo);
     }
 
@@ -437,7 +437,7 @@ if ($opt_c) {
         $opt .= " -l$opt_l";
     }
 
-    push(@cmds, "libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo");
+    push(@cmds, "$prefix/build/libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo");
 
     #   execute the commands
     &execute_cmds(@cmds);
@@ -467,7 +467,7 @@ if ($opt_i or $opt_e) {
         my $t = $f;
         $t =~ s|^.+/([^/]+)$|$1|;
         if ($opt_i) {
-           push(@cmds, "libtool --mode=install cp $f $CFG_LIBEXECDIR/$t");
+           push(@cmds, "$prefix/build/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t");
            push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
         }