Merge pull request #7321 from mglae/le11_fix_debug_build

functions: fix build_with_debug() to include dependency base packages like "kodi+"
This commit is contained in:
Rudi Heitbaum 2023-01-18 21:59:50 +11:00 committed by GitHub
commit e503620fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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