[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building a Libtool 2 package with libltdl from 1.5
From: |
Ludovic Courtès |
Subject: |
Re: Building a Libtool 2 package with libltdl from 1.5 |
Date: |
Wed, 03 Dec 2008 00:27:41 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
[Moving to `bug-libtool'.]
address@hidden (Ludovic Courtès) writes:
>> The question now is: will people be able to build tarballs that come
>> with Libtool 2.2 with <ltdl.h> from Libtool 1.5?
>
> The answer is actually "no", precisely because of this additional line
> in <ltdl.h> (missing from 1.5) [*]:
>
> #define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
This was actually reported as bug #106237 in:
http://www.mail-archive.com/address@hidden/msg10067.html
AFAICS there's no way to get around this.
To summarize:
* Packages that come with Libtool 1.5.x can't use <ltdl.h> from
Libtool 2.2.x, as reported in
http://lists.gnu.org/archive/html/guile-devel/2008-11/msg00073.html .
* Packages that come with Libtool 2.2.x can't use <ltdl.h> from
Libtool 1.5.x.
The latter can be worked around by adding the following above
`LTDL_SET_PRELOADED_SYMBOLS ()':
# ifndef lt_preloaded_symbols
# define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
# endif
... but then it forces developers to use 2.2.x.
Can someone think of a solution that would allow users/developers to use
whichever version of Libtool/ltdl they want?
Thanks in advance,
Ludo'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Building a Libtool 2 package with libltdl from 1.5,
Ludovic Courtès <=