-
Notifications
You must be signed in to change notification settings - Fork 332
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
Cannot link sqlcipher statically #558
Comments
We manage to do this in https://github.com/mozilla/application-services, but the build code is mostly spread out. I'll see if I can repro this later on a linux VM. Just to check, your SQLCIPHER_LIB_DIR does have a libsqlcipher.a in it right? |
I was able to do this on Mac.
|
@thomcc Yes the folder contains libsqlcipher.a
|
Could you please confirm that
No ? |
The method
Do you think is a |
Sorry to bother you but could you please check:
|
As I've mentioned before (https://github.com/jgallagher/rusqlite/issues/510) I kind of feel like pkgconfig shouldn't be invoked if the user specifies the lib_dir/include_dir environment variables explicitly. This is not a real fix, though, since ideally SQLCIPHER_STATIC would still be respected even if the include/lib environment variables weren't manually provided. |
is this going to be merged? |
May be fixed by version 0.26.0 |
I'm trying to link sqlcipher statically but I can't managed to do it...
Step to reproduce
Cargo.toml
main.rs
I also tried with
PKG_CONFIG_ALL_STATIC=1
without success.Any idea ?
The text was updated successfully, but these errors were encountered: