Also remove a few more private libraries that can be built in.
Co-authored-by: andry-dev <andry-dev@users.noreply.github.com>
Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
Closes: #27300 [via git-merge-pr]
upstream has noted that this patch is problematic and actually
breaks things for people who don't have sndio installed, plus
the patch is not present anywhere in upstream and it is outside
the distro policy to patch features in
therefore, disable by default at very least, and add a note
in longer term this should either be split off, upstreamed
or removed if it cannot be upstreamed
Void used to mess with the dynamic linker paths, which is very
wrong, so it's time to change that. The reason this was done was
because the lib32/64 symlinks were not available in unconfigured
chroots (since base-files used to create them during configuration)
and this has not been the case for a while, so there is nothing
blocking this.
While at it, change the library paths to lib64 for 64-bit systems
and lib32 for 32-bit systems. This merely changes the toolchain
and usually does not have much of an effect; dynamic libraries
do not contain the paths (the search paths are controlled by
the dynamic linker). The lib32/64 symlinks are contained in
base-files, so there is no harm in having this be consistent.
This reverts commit 042d921f6e.
@pullmoll
Newer libucontext seems to break ABI, which results in lots of
things suddenly failing to build, e.g.
/usr/bin/ld: /lib64/libunwind.so.8: undefined reference to `__setcontext'
/usr/bin/ld: /usr/lib/libgstreamer-1.0.so: undefined reference to `__getcontext'
collect2: error: ld returned 1 exit status
I suspect because of
99ed5bbe12