parent
5e0f0ca823
commit
9a39326194
|
@ -17,6 +17,18 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
-DCMAKE_BUILD_TYPE=Release
|
||||
"
|
||||
|
||||
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\(CCD_SOVERSION\s+([0-9]+).*/\1/p' \
|
||||
CMakeLists.txt)
|
||||
if [ "${v}" != "${_SOVERSION}" ]; then
|
||||
termux_error_exit "SOVERSION guard check failed."
|
||||
fi
|
||||
}
|
||||
|
||||
termux_step_pre_configure() {
|
||||
# Use double-precision for 64-bit archs, otherwise use single-precision
|
||||
case "$TERMUX_ARCH" in
|
||||
|
|
Loading…
Reference in New Issue