1 #[cfg(all(feature = "static", not(feature = "no-pkg-config")))] 2 extern crate pkg_config; 3 main()4 fn main() { 5 #[cfg(all(feature = "static", not(feature = "no-pkg-config")))] 6 { 7 pkg_config::Config::new() 8 .atleast_version("1") 9 .probe("egl") 10 .unwrap(); 11 } 12 } 13