Skip to content

Commit

Permalink
base-files: don't include lib32 files for musl
Browse files Browse the repository at this point in the history
Multilib on Void is already only supported on glibc[1] and as per the
musl libc FAQ[2] there is no ldconfig.

[1] https://docs.voidlinux.org/xbps/repositories/index.html#subrepositories
[2] https://wiki.musl-libc.org/faq.html
  • Loading branch information
JamiKettunen authored and classabbyamp committed Dec 26, 2023
1 parent bb914bb commit ff0f48f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions srcpkgs/base-files/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'base-files'
pkgname=base-files
version=0.143
revision=3
revision=4
bootstrap=yes
depends="xbps-triggers"
short_desc="Void Linux base system files"
Expand Down Expand Up @@ -46,8 +46,8 @@ do_install() {
ln -snrf "${DESTDIR}/usr/lib" \
"${DESTDIR}/${d}${XBPS_TARGET_WORDSIZE}"
done
# Populate 32-bit lib files on 64-bit systems, for multilib.
if [ "${XBPS_TARGET_WORDSIZE}" = "64" ]; then
# Populate 32-bit lib files on 64-bit glibc systems, for multilib.
if [ "${XBPS_TARGET_WORDSIZE}" = "64" ] && [ "${XBPS_TARGET_LIBC}" = "glibc" ]; then
vmkdir usr/lib32
ln -snrf "${DESTDIR}/usr/lib32" "${DESTDIR}/lib32"
ln -sf ../lib/locale "${DESTDIR}/usr/lib32/locale"
Expand Down

0 comments on commit ff0f48f

Please sign in to comment.