mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
PKG_DEPENDS_UNPACK: add source package to PKG_NEED_UNPACK
If the source package changes then we need to rebuild too.
This commit is contained in:
parent
9f1ea7d175
commit
59cfb354d9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user