Commit a7e5049f authored by Sergei Petrunia's avatar Sergei Petrunia

MyRocks: Fix link error on Windows

rocksdb_aux_lib.lib(rdb_sst_info.obj) : error LNK2001: unresolved
external symbol PSI_server
[D:\winx64-packages\build\storage\rocksdb\rocksdb.vcxproj]

rocksdb_aux_lib is an utility library used by standalone tools. These
won't have PSI_server.

FIxed by moving rdb_sst_info.* out of the library (as they do not seem
to be used by these standalone tools)
parent 959362c0
...@@ -95,6 +95,8 @@ SET(ROCKSDB_SE_SOURCES ...@@ -95,6 +95,8 @@ SET(ROCKSDB_SE_SOURCES
rdb_threads.h rdb_threads.h
rdb_psi.h rdb_psi.h
rdb_psi.cc rdb_psi.cc
rdb_sst_info.cc
rdb_sst_info.h
) )
# MariaDB: the following is added in build_rocksdb.cmake, when appropriate: # MariaDB: the following is added in build_rocksdb.cmake, when appropriate:
...@@ -137,8 +139,6 @@ ADD_CONVENIENCE_LIBRARY(rocksdb_aux_lib ...@@ -137,8 +139,6 @@ ADD_CONVENIENCE_LIBRARY(rocksdb_aux_lib
event_listener.h event_listener.h
rdb_perf_context.cc rdb_perf_context.cc
rdb_perf_context.h rdb_perf_context.h
rdb_sst_info.cc
rdb_sst_info.h
rdb_buff.h rdb_buff.h
rdb_mariadb_port.h rdb_mariadb_port.h
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment