Fix the snort build with openwrt eglibc toolchain
by adding build depends to librpc if the toolchain
uses eglibc.

Without this the build is failing to missing rpc/rpc.h
headers because the eglibc 2.15 does not anymore ship
the rpc libraries in itself. Instead eglibc users are
expected to use separate librpc library. (for example libtirpc)

Signed-off-by: Mika Laitio <[email protected]>
---
 net/snort/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/snort/Makefile b/net/snort/Makefile
index d3eaeaf..4c17420 100644
--- a/net/snort/Makefile
+++ b/net/snort/Makefile
@@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://dl.snort.org/snort-current/
 PKG_MD5SUM:=63f4e76ae96a2d133f4c7b741bad5458
 
-PKG_BUILD_DEPENDS:=USE_UCLIBC:librpc
+PKG_BUILD_DEPENDS:=USE_UCLIBC:librpc USE_EGLIBC:librpc
 
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
-- 
1.7.10
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to