You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by John Zhang <jo...@yahoo.com> on 2008/08/01 18:50:10 UTC

Re: Static compilation of a module

--- On Thu, 7/31/08, Brian J. France <li...@firehawksystems.com> wrote:

> At work we have moved away from using static libraries to
> shared  
> libraries because of duplicate symbols issues.

I have a smilar question: I am using apxs to compile my .so module on Linux.  The module requires another lib.  When I used "-c -l TheLib", I got a huge static .so file.  How do I generate a dynamic .so file? I tried "-Wc,-static -Wl,-static", it gives a .a file instead.