[Glade-users] Static linking



"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





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