From 6ad6d7707e893016e82eeb75f4f08131d12700e7 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Mon, 4 Oct 2010 17:42:02 +0200 Subject: remove uClibc stuff - part I --- src/boot-env/preboot/rootfs/usr/lib/libncurses.so | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/boot-env/preboot/rootfs/usr/lib/libncurses.so (limited to 'src/boot-env/preboot/rootfs/usr/lib/libncurses.so') diff --git a/src/boot-env/preboot/rootfs/usr/lib/libncurses.so b/src/boot-env/preboot/rootfs/usr/lib/libncurses.so new file mode 100755 index 00000000..e7122a85 --- /dev/null +++ b/src/boot-env/preboot/rootfs/usr/lib/libncurses.so @@ -0,0 +1,11 @@ +/* GNU ld script + Since Gentoo has critical dynamic libraries in /lib, and the static versions + in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we + run into linking problems. This "fake" dynamic lib is a linker script that + redirects the linker to the real lib. And yes, this works in the cross- + compiling scenario as the sysroot-ed linker will prepend the real path. + + See bug http://bugs.gentoo.org/4411 for more info. + */ +OUTPUT_FORMAT ( elf32-i386 ) +GROUP ( /lib/libncurses.so ) -- cgit v1.2.3-55-g7522