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:
John Gallagher
2015-12-01 11:33:48 -05:00
parent 992f01f03b
commit 7fbe1172e2
3 changed files with 25 additions and 1 deletions

View File

@@ -9,3 +9,4 @@ rusqlite contributors (sorted alphabetically)
* [Patrick Fernie](https://github.com/pfernie)
* [Steve Klabnik](https://github.com/steveklabnik)
* [krdln](https://github.com/krdln)
* [Andrew Straw](https://github.com/astraw)