mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
base-files: don't include lib32 files for musl
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
This commit is contained in:
parent
bb914bb4b5
commit
ff0f48f9da
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.143
|
version=0.143
|
||||||
revision=3
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
short_desc="Void Linux base system files"
|
short_desc="Void Linux base system files"
|
||||||
|
@ -46,8 +46,8 @@ do_install() {
|
||||||
ln -snrf "${DESTDIR}/usr/lib" \
|
ln -snrf "${DESTDIR}/usr/lib" \
|
||||||
"${DESTDIR}/${d}${XBPS_TARGET_WORDSIZE}"
|
"${DESTDIR}/${d}${XBPS_TARGET_WORDSIZE}"
|
||||||
done
|
done
|
||||||
# Populate 32-bit lib files on 64-bit systems, for multilib.
|
# Populate 32-bit lib files on 64-bit glibc systems, for multilib.
|
||||||
if [ "${XBPS_TARGET_WORDSIZE}" = "64" ]; then
|
if [ "${XBPS_TARGET_WORDSIZE}" = "64" ] && [ "${XBPS_TARGET_LIBC}" = "glibc" ]; then
|
||||||
vmkdir usr/lib32
|
vmkdir usr/lib32
|
||||||
ln -snrf "${DESTDIR}/usr/lib32" "${DESTDIR}/lib32"
|
ln -snrf "${DESTDIR}/usr/lib32" "${DESTDIR}/lib32"
|
||||||
ln -sf ../lib/locale "${DESTDIR}/usr/lib32/locale"
|
ln -sf ../lib/locale "${DESTDIR}/usr/lib32/locale"
|
||||||
|
|
Loading…
Add table
Reference in a new issue