Parcourir la source

drk: Only Linux gets the fun.

parazyd il y a 3 ans
Parent
commit
a56047ffc1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      bin/drk/build.rs

+ 1 - 0
bin/drk/build.rs

@@ -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\"");
     }