From 316eb26a3a8e4cf84074baa6bbe0d6f905c22941 Mon Sep 17 00:00:00 2001
From: Jakub Tymejczyk <jakub@tymejczyk.pl>
Date: Wed, 21 Feb 2018 12:55:31 +0100
Subject: samba36: fix build (issue #5574)

As indicated in #5574 samba fails to build with linker error due to lack
of talloc_* functions when the packet libtalloc also gets build.

According to Makefile it is compiled with "--without-libtalloc" option.
Running ./configure --help shows that there is another option connected
to libtalloc: --enable/disable-external-libtalloc.
Adding this option fixes build.

Signed-off-by: Jakub Tymejczyk <jakub@tymejczyk.pl>
---
 package/network/services/samba36/Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'package/network/services/samba36/Makefile')

diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index 42c23b4e8e..55e1428d49 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -101,6 +101,7 @@ CONFIGURE_ARGS += \
 	--prefix=/ \
 	--disable-avahi \
 	--disable-cups \
+	--disable-external-libtalloc \
 	--disable-pie \
 	--disable-relro \
 	--disable-static \
-- 
cgit v1.2.3