diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -92,6 +92,12 @@ install-libc: build-libc >'dest/etc/ld.so.conf.d/$(OPK_HOST_ARCH)' oh-autoinstall -s "$${PWD}/src/libc" -B libcbuild rm -f dest/etc/ld.so.cache + # Make a /usr/lib/<host>/ld.so link for GCC. + # No ELF binary should reference this link in its INTERP field. This is + # strictly a development file that points to the system's dynamic + # linker. + ln -sf $$(printf '%s' dest/lib/$(OPK_HOST_ARCH)/ld*so.* | \ + sed 's/dest//') /usr/lib/$(OPK_HOST_ARCH)/ld.so rm -f dest/var/db/Makefile \ dest/sbin/sln \ dest/usr/bin/makedb \ |