mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-26 14:17: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
|
harness = false
|
||||||
required-features = ["retail_game_testing"]
|
required-features = ["retail_game_testing"]
|
||||||
|
|
||||||
|
[build-dependencies]
|
||||||
|
system-deps = "7"
|
||||||
|
|
||||||
|
[package.metadata.system-deps]
|
||||||
|
libunshield = { version = "1.4", feature = "game_install" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
hmac-sha512 = "1"
|
hmac-sha512 = "1"
|
||||||
|
|
||||||
|
|
3
build.rs
3
build.rs
|
@ -2,6 +2,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
#[cfg(feature = "game_install")]
|
system_deps::Config::new().probe().unwrap();
|
||||||
println!("cargo::rustc-link-lib=unshield");
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue