Re: How to static link a program?



On Sat, Feb 05, 2005 at 09:17:59PM +0100, Jean Br?fort wrote:
...
> It seems that those flags are intended for libraries production. To have
> static linking of the libraries in the executable, you must probably
> list the libraires in the LDFLAGS, i.e. /usr/lib/libglib.a instead of
> -lglib, which will need some editing in Makefile.am.

That sounds like the right solution.  I'll try it someday.  :)  Thanks.

- Ben



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]