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>
Wed, 21 Feb 2024 21:31:36 +0000 (22:31 +0100)
commitdedd1df79e9cbe29e9beee3ebea81169792a43cb
tree9c3643d5c16acf2850cf53b95a00dfe22e6455c7
parent27336e45a2dd22ccb9d3813609ab0529ecc03e1f
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