make librpc compatible with eglibc, unconditionally enable it for packages that need rpc support

SVN-Revision: 32129
This commit is contained in:
Felix Fietkau
2012-06-08 15:10:18 +00:00
parent 15189a628a
commit 4d8cd3afc0
4 changed files with 207 additions and 37 deletions

View File

@@ -119,10 +119,8 @@ else
LIBGCC_A=$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.a)
LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-L$(TOOLCHAIN_DIR)/lib -lgcc_s,$(LIBGCC_A))
endif
ifdef CONFIG_USE_UCLIBC
LIBRPC=-lrpc
endif
LIBRPC_DEPENDS=+USE_UCLIBC:librpc
LIBRPC_DEPENDS=+librpc
ifndef DUMP
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)