Page MenuHomeFreeBSD

D42669.diff
No OneTemporary

D42669.diff

diff --git a/libexec/rc/rc.d/ldconfig b/libexec/rc/rc.d/ldconfig
--- a/libexec/rc/rc.d/ldconfig
+++ b/libexec/rc/rc.d/ldconfig
@@ -39,10 +39,7 @@
startmsg 'ELF ldconfig path:' ${_LDC}
${ldconfig} -elf ${_ins} ${_LDC}
- machine_arch=$(sysctl -n hw.machine_arch)
-
- case ${machine_arch} in
- aarch64|amd64|powerpc64)
+ if check_kern_features compat_freebsd32; then
for i in ${ldconfig_local32_dirs}; do
if [ -d "${i}" ]; then
_files=`find ${i} -type f`
@@ -67,7 +64,7 @@
startmsg '32-bit compatibility ldconfig path:' ${_LDC}
${ldconfig} -32 ${_ins} ${_LDC}
;;
- esac
+ fi
fi
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 10:59 PM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15773590
Default Alt Text
D42669.diff (624 B)

Event Timeline