libevent: Fix SOVERSION guard

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2022-12-28 00:13:29 +09:00
parent fd84b926dc
commit f152d6b805
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ termux_step_post_get_source() {
local _SOVERSION=7
for a in LIBVERSION_CURRENT LIBVERSION_AGE; do
local _${a}=$(sed -En 's/.*set\(EVENT_ABI_'"${a}"'\s+([0-9])\).*/\1/p' \
local _${a}=$(sed -En 's/.*set\(EVENT_ABI_'"${a}"'\s+([0-9]+)\).*/\1/p' \
CMakeLists.txt)
done
local r=$(sed -En 's/.*set\(EVENT_PACKAGE_RELEASE\s+([0-9.]+)\).*/\1/p' \