treewide: drop librt and libpthread packages
authorJo-Philipp Wich <jo@mein.io>
Fri, 18 Dec 2020 16:31:28 +0000 (17:31 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 26 Jan 2025 13:09:08 +0000 (14:09 +0100)
commit4b069f30ef6fabaecd075e0957961fa48393a075
tree8d38b77bc3bf34dc497c094f15f442be940d9df3
parentfb48db06a56aa1960f5e896aeb29f4b26f72d4df
treewide: drop librt and libpthread packages

Since OpenWrt's main libc library, musl, does not provide separate shared
object files for libpthread and librt, the existing binary packages for
them are empty placeholders which provide no runtime functionality and
frequently cause confusion among users who attempt to build software
linking -lrt or -lpthread on target.

To clean this situation up somewhat and to simplify binary package
dependecies for all of the potential musl, glibc and uclibc cases, drop
those packages and move libpthread.so as well as librt.so into the main
libc package for those libc implementations that happen ship them as
extra shared libraries.

Also let the abstract libc package provide virtual libpthread and librt
packages in order to ease migration for packages that still explicitly
depend on them.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
14 files changed:
package/devel/perf/Makefile
package/devel/valgrind/Makefile
package/libs/libevent2/Makefile
package/libs/libnl/Makefile
package/libs/libusb/Makefile
package/libs/musl-fts/Makefile
package/libs/toolchain/Makefile
package/network/config/ltq-adsl-app/Makefile
package/network/config/ltq-vdsl-vr9-app/Makefile
package/network/ipv6/thc-ipv6/Makefile
package/system/opkg/Makefile
package/utils/adb/Makefile
package/utils/mdadm/Makefile
package/utils/util-linux/Makefile