mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Clarify instruction for building with vcpkg
Mention VCPKGRS_DYNAMIC environment variable.
This commit is contained in:
parent
915c10c5bf
commit
6e8276d1d0
@ -128,7 +128,11 @@ You can adjust this behavior in a number of ways:
|
|||||||
* 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
|
||||||
options. The default when using vcpkg is to dynamically link. `vcpkg install sqlite3:x64-windows` will install the required library.
|
options. The default when using vcpkg is to dynamically link,
|
||||||
|
which must be enabled by setting `VCPKGRS_DYNAMIC=1` environment variable before build.
|
||||||
|
`vcpkg install sqlite3:x64-windows` will install the required library.
|
||||||
|
|
||||||
|
*Note:* to change the way `libsqlite3-sys` is built, you need to run `cargo clean libsqlite3-sys` first.
|
||||||
|
|
||||||
### Binding generation
|
### Binding generation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user