Hi Bas,

* Bas Wijnen wrote on Sat, May 13, 2006 at 10:46:37PM CEST:
> 
> Debian libtool does not set rpath for libraries and binaries which are
> going to be installed in the standard locations ($prefix/lib,
> $prefix/bin).  It does set it when cross compiling, though, to
> "/usr/$arch/{lib,bin}".

Are they going to be searched by the linker (for dependent packages) by
default?

> In practice this is not a problem, because that directory will not exist
> on the target for which the compilation is performed (if it has a
> compiler at all, the one for that architecture will not be a
> cross-compiler).  However, it is still incorrect.

Yep.

> I've seen this in combination with automake, and the bug may be there.
> If so, please reassign. :-)

No, that is a Libtool issue.  For the cross compile situation,
/usr/$arch/lib should be added to sys_lib_search_path_spec.  But that
won't solve all problems.  And be sure not to do it for the installed
/usr/bin/libtool script!  (You could maybe think about adding a
/usr/$arch/bin/libtool which has that, and is configured for the
respective cross compiler.)

Cheers,
Ralf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to