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