mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41:37 +08:00
commit
62f2dcdfa4
@ -13,7 +13,8 @@ fn main() {
|
|||||||
}
|
}
|
||||||
build_linked::main(&out_dir, &out_path)
|
build_linked::main(&out_dir, &out_path)
|
||||||
} else {
|
} else {
|
||||||
// This can't be `cfg!` without always requiring our `mod build_bundled` (and thus `cc`)
|
// This can't be `cfg!` without always requiring our `mod build_bundled` (and
|
||||||
|
// thus `cc`)
|
||||||
#[cfg(feature = "bundled")]
|
#[cfg(feature = "bundled")]
|
||||||
{
|
{
|
||||||
build_bundled::main(&out_dir, &out_path)
|
build_bundled::main(&out_dir, &out_path)
|
||||||
@ -28,8 +29,8 @@ fn main() {
|
|||||||
#[cfg(feature = "bundled")]
|
#[cfg(feature = "bundled")]
|
||||||
mod build_bundled {
|
mod build_bundled {
|
||||||
use cc;
|
use cc;
|
||||||
use std::path::Path;
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
use std::path::Path;
|
||||||
|
|
||||||
pub fn main(out_dir: &str, out_path: &Path) {
|
pub fn main(out_dir: &str, out_path: &Path) {
|
||||||
if cfg!(feature = "sqlcipher") {
|
if cfg!(feature = "sqlcipher") {
|
||||||
|
Loading…
Reference in New Issue
Block a user