parent
5c02b412c1
commit
f9c35a85c5
|
@ -15,3 +15,15 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
-DFLEX_EXECUTABLE=$(command -v flex)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
# Do not forget to bump revision of reverse dependencies and rebuild them
|
||||
# after SOVERSION is changed.
|
||||
local _SOVERSION=2
|
||||
|
||||
local v=$(sed -En 's/^SET\(PACKAGE_SOVERSION\s+([0-9]+).*/\1/p' \
|
||||
CMakeLists.txt)
|
||||
if [ "${v}" != "${_SOVERSION}" ]; then
|
||||
termux_error_exit "SOVERSION guard check failed."
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue