You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tom Evans <te...@googlemail.com> on 2008/12/03 10:43:52 UTC

Re: [users@httpd] Compiling Apache 2.2.10 with static linking on Linux

On Wed, 2008-12-03 at 11:52 +0530, Ravindra wrote:
> Hi,
> 
> I want to build Apache 2.2.10 with static linking instead of default
> shared linking. I just want one httpd binary.
> 
> Old versions used to have "--disable-shared" option in configure
> script, this does not seem to exist now in new version.
> 
> Any clues how do I get statically linked Apache ?
> 
> Thanks in advance,
> Ravindra
> 

LDFLAGS="-static" ./configure ...


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org