samba: fix build with ipv6 support is disabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Apr 2009 21:17:33 +0000 (21:17 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Apr 2009 21:17:33 +0000 (21:17 -0000)
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #285

package/samba/samba.mk

index 83e078be154d8251246ece0cdd062834dcb790a1..beac484f9a526aea79be646284984ea0f6367325 100644 (file)
@@ -35,6 +35,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
                samba_cv_HAVE_NATIVE_ICONV=no \
                samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
                samba_cv_fpie=no \
+               libreplace_cv_HAVE_IPV6=$(if $(BR2_INET_IPV6),yes,no) \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \