samba36: allow build with no ipv6 support
[openwrt/openwrt.git] / package / network / services / samba36 / Makefile
index a08b51ba171b5de3b090df8aeebf2511544b96eb..a4392f62c5a613860c25204258cc3748ffb81f3e 100644 (file)
@@ -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 \