Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108638273
D42669.id130306.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
629 B
Referenced Files
None
Subscribers
None
D42669.id130306.diff
View Options
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_freebsd_32bit ; 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
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 12:54 AM (9 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16229755
Default Alt Text
D42669.id130306.diff (629 B)
Attached To
Mode
D42669: ldconfig: only configure compat32 when kernel supports it
Attached
Detach File
Event Timeline
Log In to Comment