fixup travis build

This commit is contained in:
Wez Furlong committed 2019-06-14 06:40:02 -07:00
1 parent b673dfd4d7
commit 2e4214de48
1 file changed
+4 -2
+4 -2
View File
@@ -1,5 +1,4 @@
use pkg_config;
use std::path::Path;
fn main() {
if let Ok(lib) = pkg_config::Config::new()
@@ -22,6 +21,9 @@ fn main() {
println!("cargo:rustc-link-lib={}", libname);
}
} else {
panic!("no fontconfig");
// deliberately not erroring out here as fontconfig is an
// optional dependency that can be activated in test builds.
// I don't like this but don't want to solve this right now.
// panic!("no fontconfig");
}
}