diff options
Diffstat (limited to 'src/initramfs/uclib-rootfs.old/usr/lib/libz.so')
-rwxr-xr-x | src/initramfs/uclib-rootfs.old/usr/lib/libz.so | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/initramfs/uclib-rootfs.old/usr/lib/libz.so b/src/initramfs/uclib-rootfs.old/usr/lib/libz.so new file mode 100755 index 00000000..97779630 --- /dev/null +++ b/src/initramfs/uclib-rootfs.old/usr/lib/libz.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/libz.so ) |