build-pgroonga: Use msgpack-c on Debian 13.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2025-08-12 15:33:00 -07:00
committed by Tim Abbott
parent 2e97637d8e
commit 60fe9d438f

View File

@@ -13,5 +13,14 @@ sha256sum -c <<<"$sha256 $tarball"
tar -xzf "$tarball"
cd "pgroonga-$version"
make -j "$(nproc)" HAVE_MSGPACK=1
if pkg-config msgpack-c; then
msgpack='msgpack-c'
elif pkg-config msgpack; then
msgpack='msgpack'
else
echo 'build-pgroonga: Cannot find msgpack'
exit 1
fi
make -j "$(nproc)" HAVE_MSGPACK=1 MSGPACK_PACKAGE_NAME="$msgpack"
make install