And make librt be an empty stub for musl libc.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35810
define Package/libthread-db
$(call Package/libc/Default)
+ DEPENDS:=@!USE_MUSL
TITLE:=POSIX thread library debugging support
endef
define Package/ldd
$(call Package/libc/Default)
+ DEPENDS:=@!USE_MUSL
SECTION:=utils
CATEGORY:=Utilities
TITLE:=LDD trace utility
define Package/ldconfig
$(call Package/libc/Default)
+ DEPENDS:=@!USE_MUSL
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Shared library path configuration
define Package/librt/install
$(INSTALL_DIR) $(1)/lib
+ ifneq ($(CONFIG_USE_MUSL),y)
$(CP) \
$(TOOLCHAIN_DIR)/lib/librt.so.* \
$(TOOLCHAIN_DIR)/lib/librt-$(LIBC_SO_VERSION).so \
$(1)/lib/
+ endif
endef
define Package/ldd/install