[Top][All Lists]

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

question: use of LDFLAGS=-static

From: Ilya Shlyakhter
Subject: question: use of LDFLAGS=-static
Date: Mon, 25 Feb 2002 17:59:42 -0500

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]