[buildroot] add an abstract $(LIBRPC_DEPENDS) variable for feed packages to rely on
[openwrt/svn-archive/archive.git] / rules.mk
index b778a2e..efe7a6d 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -114,6 +114,7 @@ LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-L$(TOOLCHAIN_DIR)/li
 ifdef CONFIG_USE_UCLIBC
 LIBRPC=-lrpc
 endif
+LIBRPC_DEPENDS=+USE_UCLIBC:librpc
 
 ifndef DUMP
   ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)