[Glade-users] Static linking

Damon Chaplin damon@ximian.com
Sat, 19 May 2001 15:12:08 -0400


"Felix E. Klee" wrote:
> 
> Hi,
> 
> I want to present an application, that I created with Glade, on
> computers that don't have the neccesary libraries installed. Which
> switch in which file should I activate to enable static linking (I don't
> care if the executable becomes very big)?

I think you can modify src/Makefile.am and add a line like this:

project1_LDFLAGS = -static


I'm not 100% sure, though. The app crashed on startup when I just tried it!

Damon