Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RocksDB: Check if C++ interface is exported by the system library #65

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EchterAgo
Copy link
Collaborator

Shared Windows builds of RocksDB produce a .dll file that only dllexports the C interface of RocksDB, which will cause the config tests to use the system library but link will fail because the C++ symbols are undefined.

This patch makes the config test link to the C++ interface to check if the system library exports the C++ symbols.

Shared Windows builds of RocksDB produce a .dll file that only
dllexports the C interface of RocksDB, which will cause the config
tests to use the system library but link will fail because the C++
symbols are undefined.

This patch makes the config test link to the C++ interface to check
if the system library exports the C++ symbols.
@EchterAgo EchterAgo marked this pull request as draft November 9, 2020 13:50
@cculianu
Copy link
Owner

cculianu commented Nov 9, 2020

I forget -- the tests don't actually execute, right? They only get compiled and linked -- is that correct?

@EchterAgo
Copy link
Collaborator Author

Yes, they do not execute. I found some issues with this, which is why I converted to a draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants