This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: library name enforcement?
- From: Dale E Martin <dmartin at cliftonlabs dot com>
- To: automake at gnu dot org
- Date: Mon, 3 May 2004 07:18:29 -0400
- Subject: Re: library name enforcement?
- References: <20040503045254.GA15219@misery.proulx.com>
On Sun, May 02, 2004 at 10:52:54PM -0600, Bob Proulx wrote:
> Older versions of automake allowed arbitrary library names.
>
> noinst_LIBRARIES = foo.a
>
> Recent versions of automake now complain about this naming.
>
> Makefile.am:2: `foo.a' is not a standard library name
>
> I would normally like the lib naming but in this case I am retrofiting
> an existing project and others disagree.
>
> I searched the documentation but I could find no way to revert to the
> previous behavior. Any hints?
Does this work?
foo_a_LDFLAGS=-module
Something very close to this works for libtool libraries. I suppose it
could have other unintended effects, though.
Later,
Dale
--
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
dmartin@cliftonlabs.com
http://www.cliftonlabs.com
pgp key available