diff --git a/config/functions b/config/functions index a03dbb490b..a134b56f00 100644 --- a/config/functions +++ b/config/functions @@ -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