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

We only need to link the cipher version of sqlite in case of HAS_CODEC #334

Merged
merged 1 commit into from
Jul 25, 2021

Conversation

linux-fan-dave
Copy link

The current version of SQLiteCpp links the sqlcipher and the sqlite3 libraries when using codec. This leads to undefined behaviour since these two libraries provide the same symbols. In case of using codec only the sqlcipher library must be linked.

@SRombauts
Copy link
Owner

Nice catch, thank you for taking the time to provide a fix!

@SRombauts SRombauts self-assigned this Jul 25, 2021
@SRombauts SRombauts added the bug label Jul 25, 2021
@SRombauts SRombauts merged commit 44bd9c4 into SRombauts:master Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants