Skip to content

Commit de41357

Browse files
committed
Don't dump rocksdb version on IOS
1 parent 0af36d6 commit de41357

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

db/db_impl.cc

+3
Original file line numberDiff line numberDiff line change
@@ -4690,9 +4690,12 @@ Status DestroyDB(const std::string& dbname, const Options& options) {
46904690
//
46914691
// A global method that can dump out the build version
46924692
void DumpLeveldbBuildVersion(Logger * log) {
4693+
#if !defined(IOS_CROSS_COMPILE)
4694+
// if we compile with Xcode, we don't run build_detect_vesion, so we don't generate util/build_version.cc
46934695
Log(log, "Git sha %s", rocksdb_build_git_sha);
46944696
Log(log, "Compile time %s %s",
46954697
rocksdb_build_compile_time, rocksdb_build_compile_date);
4698+
#endif
46964699
}
46974700

46984701
} // namespace rocksdb

0 commit comments

Comments
 (0)