From: Rosy Song Date: Mon, 7 Jan 2019 06:24:47 +0000 (+0800) Subject: samba36: allow build with no ipv6 support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93b984b78a2da34b353602570582c2c06d0979ff;p=openwrt%2Fstaging%2Fynezz.git samba36: allow build with no ipv6 support Signed-off-by: Rosy Song --- 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 \