Re: How to static link a program?

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

 



Le samedi 05 fÃvrier 2005 Ã 00:54 -0800, Ben Johnson a Ãcrit :
> On Sat, Feb 05, 2005 at 08:48:49AM +0100, Jean Br?fort wrote:
> ...
> > use configure --enable-static --disable-dynamic doesn't work?
> 
> no, that doesn't seem to do anything at all.  I'm using the configure
> script that glade made for me to build my app.  Should it work?
> 
> ben@elsa:~/Projects/hpntpos$ grep static configure
> static char *e (p, i)
> static char *f (char * (*g) (char **, int), char **p, ...)
> static char *e (p, i)
> static char *f (char * (*g) (char **, int), char **p, ...)
> static char *e (p, i)
> static char *f (char * (*g) (char **, int), char **p, ...)
> 

Add:
 AC_ENABLE_STATIC
AX_DISABLE_SHARED
to configure.in (or configure.ac), run autoconf then configure.

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux