functions: fix build_with_debug() to include dependency base packages like "kodi+"

This commit is contained in:
mglae 2022-12-31 15:29:31 +01:00
parent f559a7a767
commit 9474167897

View File

@ -744,7 +744,7 @@ build_with_debug() {
[ "${PKG_IS_KERNEL_PKG}" = "yes" ] && listcontains "${_DEBUG_DEPENDS_LIST}" "linux\+" && return 0
# Build this package with debug if it's a resolved dependency
listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}" && return 0
listcontains "${_DEBUG_DEPENDS_LIST}" "${PKG_NAME}[+]?" && return 0
fi
return 1