1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-26 06:07:45 +00:00

Bring back usage of system-deps

This commit is contained in:
Joshua Goins 2024-06-27 20:40:34 -04:00
parent 2bcbc27e53
commit 70fa4dc62f
2 changed files with 7 additions and 2 deletions

View file

@ -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"

View file

@ -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();
}