rusqlite/libsqlite3-sys
Will Davis 9f009fe1e0 Use pkg-config to generate sqlite link dependencies
When built as a static library, sqlite (or sqlcipher) doesn't carry
additional link dependencies with it, and the libsqlite3-sys rlib
doesn't pick them up either. A dependent crate attempting to link
against rusqlite then has to specify these additional link commands,
and even then they need to be specified before the libsqlite3-sys
rlib is specified on the command line.

Fix this by attempting to use pkg-config when the
(SQLITE3|SQLCIPHER)_LIB_DIR is specified, since these builds produce
the pkg-config link dependency information, and the pkg_config crate
can automatically generate the correct link commands using that.

(Additionally, since (SQLITE3|SQLCIPHER)_STATIC is already defined,
or not, the --static flag will be correctly configured for pkg_config)
2019-02-04 22:53:57 -06:00
..
bindgen-bindings Restore old bindgen for Diesel 2019-01-06 09:50:35 +01:00
sqlite3 Upgrade bundled version to SQLite 3.26.0 2018-12-15 10:19:53 +01:00
src Fix some enum representation 2019-02-02 11:04:46 +01:00
.gitignore Build raw sqlite interface as libsqlite3-sys 2015-02-23 20:37:55 -05:00
build.rs Use pkg-config to generate sqlite link dependencies 2019-02-04 22:53:57 -06:00
Cargo.toml Upgrade to bindgen 0.47 2019-01-26 10:54:21 +01:00
upgrade.sh Fix vtab modules 2018-12-15 10:51:02 +01:00
wrapper.h Update libsqlite3-sys to run bindgen at build time 2017-02-08 20:40:30 -05:00