0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-18 10:53:48 +02:00

configure: Add condition to skip buildrocks.sh invocation.

This commit is contained in:
Jason Volk 2022-07-22 19:15:25 -07:00
parent a44e180ff7
commit f13ea1b2c3

View file

@ -2759,7 +2759,10 @@ RB_HELP_STRING([--with-included-rocksdb[[[=version]]]], [Use the RocksDB sources
rocksdb_version="$ROCKSDB_VERSION_DEFAULT"
fi
bash tools/buildrocks.sh $rocksdb_linkage $rocksdb_version
if [[ $rocksdb_version != "built" ]]; then
bash tools/buildrocks.sh $rocksdb_linkage $rocksdb_version
fi
AS_IF([ test $? != 0 ],
[
AC_MSG_ERROR([Failed to build RocksDB])