From: Jakub Tymejczyk Date: Wed, 21 Feb 2018 11:55:31 +0000 (+0100) Subject: samba36: fix build (issue #5574) X-Git-Tag: v18.06.0-rc1~795 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=316eb26a3a8e4cf84074baa6bbe0d6f905c22941;hp=92419ab4c774de9b95fcfe0243d554d43deb0a2f 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 --- 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 \