]> granicus.if.org Git - apache/commitdiff
Sun Forte requires having the same CFLAGS passed to the link stage as was
authorJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 23 Dec 2002 19:21:15 +0000 (19:21 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 23 Dec 2002 19:21:15 +0000 (19:21 +0000)
passed to the compile stage.

(Otherwise, it won't link the threaded APR right.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98102 13f79535-47bb-0310-9956-ffa450edef68

support/apxs.in

index 4be6d893286e01ee2b51e8a476c1a26e986f586a..4879de7ac3c375d3684d40d732844c449b3d6618 100644 (file)
@@ -462,7 +462,7 @@ if ($opt_c) {
             exit(1);
         }
         
-        my $apr_libs=`$apr_bindir/apr-config --ldflags --link-libtool --libs`;
+        my $apr_libs=`$apr_bindir/apr-config --cflags --ldflags --link-libtool --libs`;
         chomp($apr_libs);
         my $apu_libs=`$apu_bindir/apu-config --ldflags --link-libtool --libs`;
         chomp($apu_libs);