drk: Only Linux gets the fun.

This commit is contained in:
parazyd
2023-01-24 18:30:24 +01:00
parent cd8cde536b
commit a56047ffc1

View File

@@ -19,6 +19,7 @@
use pkg_config::probe_library;
fn main() {
#[cfg(target_os = "linux")]
if probe_library("libout123").is_ok() && probe_library("libmpg123").is_ok() {
println!("cargo:rustc-cfg=feature=\"play\"");
}