diff --git a/config/functions b/config/functions index 6f76f0e259..78d4b41f8d 100644 --- a/config/functions +++ b/config/functions @@ -873,6 +873,12 @@ source_package() { [ "$PKG_ADDON_IS_STANDALONE" != "yes" ] && PKG_NEED_UNPACK="${PKG_NEED_UNPACK} $(get_pkg_directory $MEDIACENTER)" fi + if [ -n "${PKG_DEPENDS_UNPACK}" ]; then + for _p in ${PKG_DEPENDS_UNPACK}; do + PKG_NEED_UNPACK+=" $(get_pkg_directory ${_p})" + done + fi + # Automatically set PKG_SOURCE_NAME unless it is already defined. # PKG_SOURCE_NAME will be automatically set to a name based on # the $PKG_NAME-$PKG_VERSION convention.