Subject: Re: rpaths and dependency_libs
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 10/24/2004 11:45:32
On Sun, 24 Oct 2004, Julio M. Merino Vidal wrote:
> For example, there is a library, libevolution-addressbook.la, that does not
> use NSS directly. However, it depends on another library, named libeabutil.la,
> which _does_ use NSS (this later one is built as a static archive only).
Um, libeabutil.la is a static lib, but is being referenced by a shared
object (which I presume libevolution-addressbook is)? Sounds fishy to me,
to say the least. But anyway:
> So, the libeabutil.la gets '-lnss3 -L/usr/pkg/lib/mozilla-gtk2', among other
> flags, in its dependency_libs line.
That's odd. I'd have thought that the rpath would show up there. But:
> I thought... this can be solved with the wrapper framework, by making it add
> the rpath flags in the dependency_libs line. But after taking a look at the
> libtool-fix-la file, I saw:
>
> ####################################################
> # Skip all -R* options... rpath info shouldn't go into
> # the dependency_libs line.
> ####################################################
> -R*)
> ;;
This is WRONG and will be fixed. I'll get the discussion going on this.
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com>