mirror of
https://github.com/isar/rusqlite.git
synced 2026-01-06 19:02:28 +08:00
Make libsqlite3-sys's build script slightly more intelligent.
* If SQLITE3_LIB_DIR is present in the environment, we use that. * If SQLITE3_LIB_DIR is not present, we try to use pkg-config. * If SQLITE3_LIB_DIR is not present and pkg-config fails, we fall back to /usr/lib (if it exists).
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
* Slight change to the closure types passed to `query_map` and `query_and_then`:
|
||||
* Remove the `'static` requirement on the closure's output type.
|
||||
* Give the closure a `&SqliteRow` instead of a `SqliteRow`.
|
||||
* When building, the environment variable `SQLITE3_LIB_DIR` now takes precedence over pkg-config.
|
||||
* If `pkg-config` is not available, we will try to find `libsqlite3` in `/usr/lib`.
|
||||
|
||||
# Version 0.4.0 (2015-11-03)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user