1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 12:47:45 +00:00
physis/build.rs
Joshua Goins c90a46186f Don't probe system dependencies on Windows
This should help unbreak the Astra build on Windows.
2024-06-29 09:55:08 -04:00

8 lines
300 B
Rust

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
fn main() {
// Windows doesn't ship pkgconfig files, typically. At least in our build system.
#[cfg(not(target_os = "windows"))]
system_deps::Config::new().probe().unwrap();
}