Skip to content

Commit

Permalink
Merge pull request #227 from ionut-arm/link-sys-2
Browse files Browse the repository at this point in the history
Add tss2-sys when generating bindings too
  • Loading branch information
ionut-arm authored May 7, 2021
2 parents 01391d9 + e32b361 commit 56c487a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tss-esapi-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ fn main() {

#[cfg(feature = "generate-bindings")]
pub fn generate_from_system(esapi_out: PathBuf) {
pkg_config::Config::new()
.atleast_version(MINIMUM_VERSION)
.probe("tss2-sys")
.expect("Failed to find tss2-sys library.");
let tss2_esys = pkg_config::Config::new()
.atleast_version(MINIMUM_VERSION)
.probe("tss2-esys")
Expand Down

0 comments on commit 56c487a

Please sign in to comment.