Are you using libtool? If not, use it! If so, ask on the libtool list. Stephano Mariani
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ilya Shlyakhter > Sent: Monday, 25 February 2002 11 0 > To: [EMAIL PROTECTED] > Subject: question: use of LDFLAGS=-static > > Hello automake experts, > > How do I get automake to do static linking > whenever possible, and do dynamic linking > otherwise? Simply using > > LDFLAGS = -static > > fails on IRIX and MacOS (darwin), > where static linking is not possible. > Omitting -static works everywhere, but > the resulting binaries won't work on > systems lacking the right shared libraries. > > Any suggestions would be greatly appreciated. > > Ilya > [EMAIL PROTECTED] > > >
