From 4a3378526dc03173db3bc97041150866b10093df Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 12 Aug 2012 16:51:41 -0400 Subject: [PATCH] stage2: Link libstdc++ from toolchain to build chroot. --- lfs/stage2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lfs/stage2 b/lfs/stage2 index 5f038c325..04291d6e4 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -63,9 +63,11 @@ $(TARGET) : # Symlinks # for this reason, stage2 rebuild will broke the iso:perl, grubbatch - -ln -sv /tools/bin/{bash,cat,grep,pwd,stty} /bin + -ln -sv /tools/bin/{bash,cat,echo,pwd,stty} /bin -ln -sv /tools/bin/perl /usr/bin -ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib + -ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib + sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la -ln -sv bash /bin/sh # Config files -- 2.39.2