From: John Crispin Date: Wed, 3 Apr 2013 10:01:10 +0000 (+0000) Subject: fix eglibc compile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9b3b0473aed09239c5bca27616e0a455432820e6;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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