libvpx: Add SOVERSION guard
%ci:no-build
This commit is contained in:
parent
01b46f7204
commit
e78458a96d
@ -56,3 +56,15 @@ termux_step_configure() {
|
||||
--enable-small \
|
||||
--extra-cflags="-fPIC"
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
# Do not forget to bump revision of reverse dependencies and rebuild them
|
||||
# after SOVERSION is changed.
|
||||
local _SOVERSION_GUARD_FILES="lib/libvpx.so.7"
|
||||
local f
|
||||
for f in ${_SOVERSION_GUARD_FILES}; do
|
||||
if [ ! -e "${f}" ]; then
|
||||
termux_error_exit "Error: file ${f} not found; please check if SOVERSION has changed."
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user