summaryrefslogtreecommitdiffstats
path: root/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so')
-rwxr-xr-xsrc/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so b/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.so
new file mode 100755
index 00000000..32ad8efe
--- /dev/null
+++ b/src/boot-env/preboot/uclib-rootfs/usr/lib/libcurses.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/libcurses.so )