On 4/9/20 11:38 AM, Tadeus Prastowo via lfs-dev wrote:
On Thu, Apr 9, 2020 at 9:12 AM Pierre Labastie <[email protected]> wrote:
On Wed, 2020-04-08 at 23:27 +0200, Tadeus Prastowo wrote:
Perhaps you need to check with a program that links to libreadline
using the --if-needed option.
I think you are right and this needs some testing.
Actually, this is my question: are there still packages using --if-
needed? Not in lfs for sure. I'll do a full build of blfs to make sure.
If you can point me to a package using that (even outside blfs), please
do.
The OP of the first link mentions `GNU parted-1.8.6'. I haven't
checked whether the latest version of parted still does it.
OTOH, is -L/tools/lib needed? I hate the idea of putting a reference to
/tools in final lfs builds. I have to try, but I think that just using
SHLIB_LIBS=-lncursesw will add
libncursesw to the list of needed ibraries, without resolving the above
names at static link time (having them resolved at dynamic link time
instead).
AFAIK, -L will not embed anything in the resulting shared library.
Correct. It just tells the linker where to look. rpath does embed the
location of dynamic libraries.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page