mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
build-pgroonga: Use msgpack-c on Debian 13.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Tim Abbott
parent
2e97637d8e
commit
60fe9d438f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user