mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
README: document SQLITE3_LIB/INCLUDE_DIR
This commit is contained in:
parent
682d8a837e
commit
7b9b1d2965
@ -131,8 +131,8 @@ You can adjust this behavior in a number of ways:
|
|||||||
version = "0.24.2"
|
version = "0.24.2"
|
||||||
features = ["bundled"]
|
features = ["bundled"]
|
||||||
```
|
```
|
||||||
* You can set the `SQLITE3_LIB_DIR` to point to directory containing the SQLite
|
|
||||||
library.
|
* When linking against a SQLite library already on the system (so *not* using the `bundled` feature), you can set the `SQLITE3_LIB_DIR` environment variable to point to a directory containing the library. You can also set the `SQLITE3_INCLUDE_DIR` variable to point to the directory containing `sqlite3.h`.
|
||||||
* Installing the sqlite3 development packages will usually be all that is required, but
|
* Installing the sqlite3 development packages will usually be all that is required, but
|
||||||
the build helpers for [pkg-config](https://github.com/alexcrichton/pkg-config-rs)
|
the build helpers for [pkg-config](https://github.com/alexcrichton/pkg-config-rs)
|
||||||
and [vcpkg](https://github.com/mcgoo/vcpkg-rs) have some additional configuration
|
and [vcpkg](https://github.com/mcgoo/vcpkg-rs) have some additional configuration
|
||||||
@ -140,6 +140,7 @@ You can adjust this behavior in a number of ways:
|
|||||||
which must be enabled by setting `VCPKGRS_DYNAMIC=1` environment variable before build.
|
which must be enabled by setting `VCPKGRS_DYNAMIC=1` environment variable before build.
|
||||||
`vcpkg install sqlite3:x64-windows` will install the required library.
|
`vcpkg install sqlite3:x64-windows` will install the required library.
|
||||||
|
|
||||||
|
|
||||||
### Binding generation
|
### Binding generation
|
||||||
|
|
||||||
We use [bindgen](https://crates.io/crates/bindgen) to generate the Rust
|
We use [bindgen](https://crates.io/crates/bindgen) to generate the Rust
|
||||||
|
Loading…
Reference in New Issue
Block a user