fix eglibc compile

add librt dependency/link flag to procd when using eglibc thanks to jow for the help

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 36188
This commit is contained in:
John Crispin 2013-04-03 10:01:10 +00:00
parent d9bb7ff7a5
commit 9b3b0473ae

View File

@ -21,10 +21,12 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/cmake.mk
TARGET_LDFLAGS += $(if $(CONFIG_USE_EGLIBC),-lrt)
define Package/procd define Package/procd
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=+ubusd +ubus +libjson-script DEPENDS:=+ubusd +ubus +libjson-script +USE_EGLIBC:librt
TITLE:=OpenWrt system process manager TITLE:=OpenWrt system process manager
endef endef