summaryrefslogtreecommitdiffstats
path: root/package/procd/Makefile
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-03 10:01:10 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-03 10:01:10 +0000
commit1d66193a3b7812b2d5fd38f36cbd3829d1d8d963 (patch)
treecb53cea4199e2c3a7d463dd9977d339aa6d84dc3 /package/procd/Makefile
parentf604e056e9c4f74d4e3ab17df0cc45f1e0f5a743 (diff)
[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 <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36188 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/procd/Makefile')
-rw-r--r--package/procd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/procd/Makefile b/package/procd/Makefile
index 762fb5f18..53c102a7c 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