[Top][All Lists]

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

Re: pointless automake error about libtool libraries

From: Bruno Haible
Subject: Re: pointless automake error about libtool libraries
Date: Mon, 21 Aug 2006 17:59:09 +0200
User-agent: KMail/1.9.1

Ralf Wildenhues wrote:
> > line 15:   noinst_LTLIBRARIES = libgettextlib.la
> > line 268:  lib_LTLIBRARIES = libgettextlib.la
> So which should automake use?

The one without 'noinst', because this is the one which can yield an
-rpath option.

> This is connected with tests/libtool8.test and PR automake/285.

In tests/libtool8.test you test that the case where two different
installation directories are given for the same library: $(libdir) and
$(pkglibdir). These conflict.

In the case I'm presenting, it's different. There is no $(noinstdir).
One specification gives no installation directory, and the other one
gives 1 installation directory. 0 + 1 < 2. There is no conflict.

> IOW, we would need a
> generalizable definition of what to do with a library connected with
> multiple (non-)installations, in the light that Libtool itself only (and
> rightly!) allows at most one installation directory.

Here is this definition: Take the list of prefixes, remove duplicates,
then remove "noinst". Then if more than 1 remains, it's an error.


reply via email to

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