From 93b984b78a2da34b353602570582c2c06d0979ff Mon Sep 17 00:00:00 2001 From: Rosy Song Date: Mon, 7 Jan 2019 14:24:47 +0800 Subject: [PATCH] samba36: allow build with no ipv6 support Signed-off-by: Rosy Song --- package/network/services/samba36/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile index a08b51ba17..a4392f62c5 100644 --- a/package/network/services/samba36/Makefile +++ b/package/network/services/samba36/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=samba PKG_VERSION:=3.6.25 -PKG_RELEASE:=13 +PKG_RELEASE:=14 PKG_SOURCE_URL:=https://download.samba.org/pub/samba \ https://download.samba.org/pub/samba/stable @@ -85,6 +85,7 @@ CONFIGURE_VARS += \ libreplace_cv_HAVE_C99_VSNPRINTF=yes \ libreplace_cv_HAVE_GETADDRINFO=yes \ libreplace_cv_HAVE_IFACE_IFCONF=yes \ + $(if $(CONFIG_IPV6),,libreplace_cv_HAVE_IPV6=no libreplace_cv_HAVE_IPV6_V6ONLY=no) \ LINUX_LFS_SUPPORT=yes \ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \ samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \ -- 2.30.2