[openwrt/openwrt] samba36: fix build (issue #5574)

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 24 02:24:51 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/316eb26a3a8e4cf84074baa6bbe0d6f905c22941

commit 316eb26a3a8e4cf84074baa6bbe0d6f905c22941
Author: Jakub Tymejczyk <jakub at tymejczyk.pl>
AuthorDate: Wed Feb 21 12:55:31 2018 +0100

    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 at tymejczyk.pl>
---
 package/network/services/samba36/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index 42c23b4..55e1428 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 \



More information about the lede-commits mailing list