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
master
John Crispin 12 years ago
parent d9bb7ff7a5
commit 9b3b0473ae
  1. 4
      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

Loading…
Cancel
Save