
2 Nov
2004
2 Nov
'04
1:15 a.m.
Peter Moulder wrote:
On Mon, Nov 01, 2004 at 02:11:31PM +0000, Carl Hetherington wrote:
Is it just ./configure --disable-shared, or something?
I believe that doesn't work. I believe that just controls whether to build shared libraries rather than whether to link against shared or static libs.
For the libraries where we use pkg-config, someone suggested changing one's .pc file to use the libfoo.a file instead of -lfoo.
For the libraries that are named explicitly in Makefile.am, you can similarly change -lfoo to /usr/lib/libfoo.a.
pjrm.
I think that will work. Also, if one builds libsigc++ gccpp, gtkmm, glibmm, etc from source, --enable-static is usually necessary. (and --disable-shared helps, too)
Bob