This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
ilya_shl@mit.edu






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]