From a2600053f903786162564cc4c052a80c9041ef25 Mon Sep 17 00:00:00 2001 From: peilun-conflux <48905552+peilun-conflux@users.noreply.github.com> Date: Tue, 2 Jun 2020 01:49:54 +0800 Subject: [PATCH] Link sqlite3 statically. (#1497) * Link sqlite3 statically. --- Cargo.lock | 3 +-- Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b9c0b6ea80..3807173f57 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3601,8 +3601,7 @@ dependencies = [ [[package]] name = "sqlite3-sys" version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71fec807a1534bd13eeaaec396175d67c79bdc68df55e18a452726ec62a8fb08" +source = "git+https://github.com/Conflux-Chain/sqlite3-sys.git?rev=1de8e5998f7c2d919336660b8ef4e8f52ac43844#1de8e5998f7c2d919336660b8ef4e8f52ac43844" dependencies = [ "libc", "sqlite3-src", diff --git a/Cargo.toml b/Cargo.toml index 7c10f1ffeb..8a2ab12a45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -84,7 +84,8 @@ deadlock_detection = ["parking_lot/deadlock_detection"] #"bzip2-sys:0.1.6"={git = "https://github.com/alexcrichton/bzip2-rs.git"} [patch.crates-io] -bzip2-sys = {git = "https://github.com/alexcrichton/bzip2-rs.git", commit = "461d6691" } +bzip2-sys = { git = "https://github.com/alexcrichton/bzip2-rs.git", commit = "461d6691" } +sqlite3-sys = { git = "https://github.com/Conflux-Chain/sqlite3-sys.git", rev = "1de8e5998f7c2d919336660b8ef4e8f52ac43844" } [profile.test] debug-assertions = true