Skip to content

Commit 3ade211

Browse files
committed
Do not build ldb binary as mysql_ldb does the same thing
1 parent 86680e8 commit 3ade211

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

storage/rocksdb/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,11 @@ ADD_LIBRARY(rocksdb_tools STATIC
151151
MYSQL_ADD_EXECUTABLE(sst_dump rocksdb/tools/sst_dump.cc)
152152
TARGET_LINK_LIBRARIES(sst_dump rocksdblib)
153153

154-
MYSQL_ADD_EXECUTABLE(ldb rocksdb/tools/ldb.cc)
155-
TARGET_LINK_LIBRARIES(ldb rocksdb_tools rocksdblib)
156-
157154
MYSQL_ADD_EXECUTABLE(mysql_ldb tools/mysql_ldb.cc)
158155
TARGET_LINK_LIBRARIES(mysql_ldb rocksdb_tools rocksdb_aux_lib)
159156

160157
IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
161-
SET_TARGET_PROPERTIES(rocksdb_tools sst_dump ldb mysql_ldb PROPERTIES COMPILE_FLAGS -frtti)
158+
SET_TARGET_PROPERTIES(rocksdb_tools sst_dump mysql_ldb PROPERTIES COMPILE_FLAGS -frtti)
162159
ENDIF()
163160
IF(MSVC)
164161
# RocksDB, the storage engine, overdoes "const" by adding

0 commit comments

Comments
 (0)