From: Justin Erenkrantz Date: Mon, 23 Dec 2002 19:21:15 +0000 (+0000) Subject: Sun Forte requires having the same CFLAGS passed to the link stage as was X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3433958702c568f0aa3f7bf1e37c6afe2f49a08b;p=apache Sun Forte requires having the same CFLAGS passed to the link stage as was 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 --- diff --git a/support/apxs.in b/support/apxs.in index 4be6d89328..4879de7ac3 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -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);