[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: question: use of LDFLAGS=-static
From: |
Stephano Mariani |
Subject: |
RE: question: use of LDFLAGS=-static |
Date: |
Tue, 26 Feb 2002 15:00:34 -0000 |
Are you using libtool? If not, use it! If so, ask on the libtool list.
Stephano Mariani
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf
Of Ilya Shlyakhter
> Sent: Monday, 25 February 2002 11 0
> To: address@hidden
> 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
> address@hidden
>
>
>