Skip to content

Commit

Permalink
Bring back usage of system-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed Jun 28, 2024
1 parent 2bcbc27 commit 70fa4dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ name = "retail_benchmark"
harness = false
required-features = ["retail_game_testing"]

[build-dependencies]
system-deps = "7"

[package.metadata.system-deps]
libunshield = { version = "1.4", feature = "game_install" }

[dev-dependencies]
hmac-sha512 = "1"

Expand Down
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later

fn main() {
#[cfg(feature = "game_install")]
println!("cargo::rustc-link-lib=unshield");
system_deps::Config::new().probe().unwrap();
}

0 comments on commit 70fa4dc

Please sign in to comment.