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:22:24 +0000 (14:22 +0100)
commit817de2070b03607d2114d4100ee866099dac9362
tree4c7bfa9659a08be40b4a708fe7041eaccfb9737c
parent9e88c2e03968ffc8d0c930073662b2840936e67e
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