[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool searches '.' by default (was: unexpected emergence of --whol
From: |
Matěj Týč |
Subject: |
Re: libtool searches '.' by default (was: unexpected emergence of --whole-archive) |
Date: |
Fri, 20 Mar 2009 20:11:21 +0100 |
> > It seems that the current build directory is implicitly passed as an
> > -L. flag to the libtool-supervised linker
>
> No. Well, first off, until this message of yours, I didn't know that
> /home/bubla/projects/devil_modular/lib/ was the current build directory.
>
> Hmm. This line in ltmain.m4sh:func_mode_link is suspicious:
> lib_search_path=`pwd`
You are right. Doing as you have suggested eliminates the trouble.
The trouble can be actually quite frustrating if you use a convenience
library that has the same name as a system library you would like to
link to. The first build is somehow OK, but rebuilds fail.
> It was added sometime during the ild-branch; details seem to be lost in
> the git history, so I can't tell whether it was added to fix some bug or
> so (but I'd have some qualms to remove it without further investigation).
> Does replacing it with lib_search_path="" fix the issue for you?
Yes, sir!
Thank you,
Matej
- unexpected emergence of --whole-archive, Matěj Týč, 2009/03/15
- Re: unexpected emergence of --whole-archive, Peter O'Gorman, 2009/03/15
- Re: unexpected emergence of --whole-archive, Matěj Týč, 2009/03/15
- Re: unexpected emergence of --whole-archive, Peter O'Gorman, 2009/03/15
- Re: unexpected emergence of --whole-archive, Matěj Týč, 2009/03/15
- Re: unexpected emergence of --whole-archive, Ralf Wildenhues, 2009/03/16
- Re: unexpected emergence of --whole-archive, Matěj Týč, 2009/03/18
- libtool searches '.' by default (was: unexpected emergence of --whole-archive), Ralf Wildenhues, 2009/03/19
- Re: libtool searches '.' by default (was: unexpected emergence of --whole-archive),
Matěj Týč <=