diff options
author | John Crispin <john@openwrt.org> | 2013-04-03 10:01:10 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-03 10:01:10 +0000 |
commit | 9b3b0473aed09239c5bca27616e0a455432820e6 (patch) | |
tree | d47db43ff0ab1c97158a480c0a1743fd61e84bcd | |
parent | d9bb7ff7a5da097f34f13912d6bb599a8fe7848d (diff) | |
download | mtk-20170518-9b3b0473aed09239c5bca27616e0a455432820e6.zip mtk-20170518-9b3b0473aed09239c5bca27616e0a455432820e6.tar.gz mtk-20170518-9b3b0473aed09239c5bca27616e0a455432820e6.tar.bz2 |
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
-rw-r--r-- | package/procd/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/procd/Makefile b/package/procd/Makefile index 762fb5f..53c102a 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 |