MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Does the offical mysql-shell tarball's mysqlsh include the protobuf?
Posted by: 仁刚 谭
Date: May 23, 2020 06:57AM

in the mysqlsh protobuf.cmake, it reference to a static library, i guess this is why protobuf statically linked into mysqlsh:
SET(PROTOBUF_LIBRARY "${MYSQL_BUILD_DIR}/extra/protobuf/protobuf-${PROTOBUF_VERSION}/cmake/libprotobuf.a"

but when i compile the mysql, i just got dynamic libprotobuf.so.
how can i generate the static library?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.