aboutsummaryrefslogtreecommitdiffstats
path: root/package/procd
diff options
context:
space:
mode:
Diffstat (limited to 'package/procd')
-rw-r--r--package/procd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/procd/Makefile b/package/procd/Makefile
index 762fb5f18f..53c102a7cb 100644
--- a/package/procd/Makefile
+++ b/package/procd/Makefile
@@ -21,10 +21,12 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
+TARGET_LDFLAGS += $(if $(CONFIG_USE_EGLIBC),-lrt)
+
define Package/procd
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+ubusd +ubus +libjson-script
+ DEPENDS:=+ubusd +ubus +libjson-script +USE_EGLIBC:librt
TITLE:=OpenWrt system process manager
endef