From 9b3b0473aed09239c5bca27616e0a455432820e6 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 3 Apr 2013 10:01:10 +0000 Subject: [PATCH] fix eglibc compile add librt dependency/link flag to procd when using eglibc thanks to jow for the help Signed-off-by: Etienne CHAMPETIER SVN-Revision: 36188 --- package/procd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 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 -- 2.25.1