1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 13:52:40 +01:00

sys-process/mission-center: add missing patch

This commit is contained in:
2023-10-14 12:03:31 +02:00
parent aac23e3f5f
commit dba83c5990

View File

@@ -0,0 +1,14 @@
diff -dNur a/src/sys_info_v2/gatherer/build/build.rs b/src/sys_info_v2/gatherer/build/build.rs
--- a/src/sys_info_v2/gatherer/build/build.rs 2023-10-13 10:35:44.000000000 +0200
+++ b/src/sys_info_v2/gatherer/build/build.rs 2023-10-13 21:30:34.353998585 +0200
@@ -35,9 +35,7 @@
fn prepare_third_party_sources() -> Result<Vec<std::path::PathBuf>, Box<dyn std::error::Error>> {
let third_party_path =
std::path::PathBuf::from(std::env::var("CARGO_MANIFEST_DIR")? + "/3rdparty");
- let mut out_dir = std::env::var("OUT_DIR")?;
- out_dir.push_str("/../../native");
- std::fs::create_dir_all(&out_dir)?;
+ let out_dir = std::env::var("WORKDIR")?;
let out_dir = std::path::PathBuf::from(out_dir).canonicalize()?;
let mut result = vec![];