diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -78,9 +78,15 @@ build: build-libc build-locales install-libc: build-libc # Install /etc/ld.so.conf early to silence a warning from ldconfig. - mkdir -p dest/etc - cp ../ld.so.conf dest/etc + mkdir -p dest/etc/ld.so.conf.d + printf 'include /etc/ld.so.conf.d/*.conf\n' \ + >'dest/etc/ld.so.conf' + printf '/usr/local/lib\n/opt/lib\n' \ + >'dest/etc/ld.so.conf.d/local' + printf '/lib/$(OPK_HOST_ARCH)\n/usr/lib/$(OPK_HOST_ARCH)\n' \ + >'dest/etc/ld.so.conf.d/$(OPK_HOST_ARCH)' oh-autoinstall -s "$${PWD}/src/libc" -B libcbuild + rm -f dest/etc/ld.so.cache rm -f dest/var/db/Makefile \ dest/sbin/sln \ dest/usr/bin/makedb \ @@ -95,7 +101,6 @@ install-libc: build-libc cp ../nsswitch.conf dest/etc cp src/libc/posix/gai.conf dest/etc cp src/libc/nscd/nscd.conf dest/etc - rm -f dest/etc/ld.so.cache install-locales: build-locales oh-autoinstall -s "$${PWD}/src/localedef" -B localesbuild \ |