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-Tag: pre_ajp_proxy~2359 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc1c7ffe8d1472bc9409d522edcd86356fce567e;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);