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:
parent
2bcbc27e53
commit
70fa4dc62f
2 changed files with 7 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
3
build.rs
3
build.rs
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue