parent
36893ed5f1
commit
1c34ed8846
|
@ -11,6 +11,18 @@ TERMUX_PKG_DEPENDS="libc++"
|
|||
TERMUX_PKG_BREAKS="libconfig-dev"
|
||||
TERMUX_PKG_REPLACES="libconfig-dev"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
# Do not forget to bump revision of reverse dependencies and rebuild them
|
||||
# after SOVERSION is changed.
|
||||
local _SOVERSION=11
|
||||
|
||||
local e=$(sed -En 's/^VERINFO\s*=\s*-version-info\s+([0-9]+):([0-9]+):([0-9]+).*/\1-\3/p' \
|
||||
lib/Makefile.am)
|
||||
if [ ! "${e}" ] || [ "${_SOVERSION}" != "$(( "${e}" ))" ]; then
|
||||
termux_error_exit "SOVERSION guard check failed."
|
||||
fi
|
||||
}
|
||||
|
||||
termux_step_pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue