Fix the "fatal error: mysqld_error.h: No such file or directory" compile error

This commit is contained in:
Sergei Petrunia 2017-01-01 01:50:17 +03:00
parent ae0a490eb3
commit 3e7e559150

View file

@ -64,6 +64,11 @@ ADD_CONVENIENCE_LIBRARY(
${ROCKSDB_LIB_SOURCES}
)
# We include storage/innobase/include/ut0counter.h, which includes
# univ.i, which includes mysqld_error.h.
# Indicate that MyRocks is dependent on that file (just like innochecksum does)
ADD_DEPENDENCIES(ROCKSDB_AUX_LIB GenError)
SET(ROCKSDB_SOURCES
rdb_mariadb_server_port.cc rdb_mariadb_server_port.h
ha_rocksdb.cc ha_rocksdb.h