I have a plugin which includes libraries for boringssl and protobuf. Everything compiles and I get no warnings, but when I try to package the game I get a bunch of LNK2005 errors that looks like this:
libcurl_a.lib(ssl_sess.obj) : error LNK2005: SSL_SESSION_is_resumable already defined in ssl.lib(ssl_session.obj)
I assume that this happens because some of the symbols in the plugin is already defined inside the engine, like in the OpenSSL module, for instance.
My question is then if there is some kind of mechanism available to make sure the packaging differentiates between the two sets of dependencies?