From 111668f07070f831c1d6385a13a7134f1d564f21 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Sun, 1 Aug 2021 23:08:03 +1000 Subject: [PATCH] kodi: honour KODI_SAMBA_SUPPORT variable without -DENABLE_SMBCLIENT=xx the kodi build will include smbclient if it finds it, or will fail if it doesn't. This define should be set so as to match the intention of the KODI_SAMBA_SUPPORT setting. --- packages/mediacenter/kodi/package.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/mediacenter/kodi/package.mk b/packages/mediacenter/kodi/package.mk index 5a03abe0b8..6ab0c92e48 100644 --- a/packages/mediacenter/kodi/package.mk +++ b/packages/mediacenter/kodi/package.mk @@ -131,6 +131,9 @@ configure_package() { if [ "${KODI_SAMBA_SUPPORT}" = yes ]; then PKG_DEPENDS_TARGET+=" samba" + KODI_SAMBA="-DENABLE_SMBCLIENT=ON" + else + KODI_SAMBA="-DENABLE_SMBCLIENT=OFF" fi if [ "${KODI_WEBSERVER_SUPPORT}" = yes ]; then