Use the make question option to avoid rebuild on macOS (#68)
There was already the earlier strange ` before the "unity.a' is up to date message on macOS. Turns out it might still not work on macOS because of certain verbosity levels. So use the question option instead of dry-run + grep as the latter is more brittle, and the former is intended for this purpose.
This commit is contained in:
parent
608d10a24e
commit
965029e395
|
@ -32,7 +32,7 @@ export ROCKSDB_DISABLE_BZIP=1
|
|||
export PORTABLE=1
|
||||
export DEBUG_LEVEL=0
|
||||
|
||||
if ${MAKE} -C "${ROCKSDB_LIB_DIR}" --dry-run unity.a | grep -q "unity.a' is up to date."; then
|
||||
if ${MAKE} -C "${ROCKSDB_LIB_DIR}" -q unity.a; then
|
||||
echo "RocksDb static libraries already built. Skipping build."
|
||||
exit 0
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue