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