From 151de3edfa0168606b7b6767cbb112a10d83ef6a Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Tue, 23 Feb 2021 11:06:29 +0100 Subject: [PATCH] net-fs/samba: set bundled_libs=ldb To minimize the size of bundled libraries of Samba, we should install only the "ldb" backend by default. --- .../coreos-overlay/net-fs/samba/samba-4.12.9-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/samba/samba-4.12.9-r2.ebuild b/sdk_container/src/third_party/coreos-overlay/net-fs/samba/samba-4.12.9-r2.ebuild index af13abb4f3..423d6ca190 100644 --- a/sdk_container/src/third_party/coreos-overlay/net-fs/samba/samba-4.12.9-r2.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/net-fs/samba/samba-4.12.9-r2.ebuild @@ -185,8 +185,9 @@ multilib_src_configure() { bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" fi - # Flatcar: Don't depend on tons of new packages with broken cross-compilation support. - bundled_libs=ALL + # Flatcar: we need only the mandatory bundled library, ldb by default. + # Without that, configure will fail because of a missing bundled library. + bundled_libs="ldb" local myconf=( --enable-fhs