aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ubox
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-12-18 17:32:46 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-12-29 18:50:24 +0100
commitf12bad6c19df4ad10b274e0c1e10bcdaaccf96f3 (patch)
treece8490f316730c7fcd4acc46c172eb5d9b3c4636 /package/system/ubox
parent3195a992d6f635ad82dbe39ee584571371334450 (diff)
downloadupstream-f12bad6c19df4ad10b274e0c1e10bcdaaccf96f3.tar.gz
upstream-f12bad6c19df4ad10b274e0c1e10bcdaaccf96f3.tar.bz2
upstream-f12bad6c19df4ad10b274e0c1e10bcdaaccf96f3.zip
tree-wide: Do not use package librt and libpthread
The libraries libpthread, libdl, libutil, libanl have been integrated into the libc library in version 2.34. it is not needed to explicitly link them any more. Most of the functions have been moved from the librt.so into libc.so some time ago already. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/system/ubox')
-rw-r--r--package/system/ubox/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile
index ca177b2c49..1030c14bb1 100644
--- a/package/system/ubox/Makefile
+++ b/package/system/ubox/Makefile
@@ -18,12 +18,10 @@ PKG_MAINTAINER:=John Crispin <john@phrozen.org>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
-TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt)
-
define Package/ubox
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+libubox +ubusd +ubus +libubus +libuci +USE_GLIBC:librt
+ DEPENDS:=+libubox +ubusd +ubus +libubus +libuci
TITLE:=OpenWrt system helper toolbox
ALTERNATIVES:=\
100:/sbin/rmmod:/sbin/kmodloader \
@@ -46,7 +44,7 @@ endef
define Package/logd
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+libubox +libubus +libblobmsg-json +USE_GLIBC:librt
+ DEPENDS:=+libubox +libubus +libblobmsg-json
TITLE:=OpenWrt system log implementation
USERID:=logd=514:logd=514
endef