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.
This commit is contained in:
heitbaum 2021-08-01 23:08:03 +10:00
parent 65fdce41ee
commit 111668f070

View File

@ -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