parent
94bbf78813
commit
419a4fd091
|
@ -18,6 +18,18 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-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=5
|
||||||
|
|
||||||
|
local e=$(sed -En 's/^libgeotiff_la_LDFLAGS\s*=.*\s+-version-info\s+([0-9]+):([0-9]+):([0-9]+).*/\1-\3/p' \
|
||||||
|
libgeotiff/Makefile.am)
|
||||||
|
if [ ! "${e}" ] || [ "${_SOVERSION}" != "$(( "${e}" ))" ]; then
|
||||||
|
termux_error_exit "SOVERSION guard check failed."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
TERMUX_PKG_SRCDIR+="/libgeotiff"
|
TERMUX_PKG_SRCDIR+="/libgeotiff"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue