Exporting the built library's directory, for linking

This commit is contained in:
Tom 2018-06-29 23:20:59 +01:00
parent 42bc9ea8f8
commit 028d8945a3

View File

@ -43,6 +43,8 @@ mod build {
cfg.flag("-DSQLITE_ENABLE_UNLOCK_NOTIFY"); cfg.flag("-DSQLITE_ENABLE_UNLOCK_NOTIFY");
} }
cfg.compile("libsqlite3.a"); cfg.compile("libsqlite3.a");
println!("cargo:lib_dir={}", out_dir);
} }
} }