librsvg source for verification 2026-05-22
This commit is contained in:
14
gdk-pixbuf-loader/build.rs
Normal file
14
gdk-pixbuf-loader/build.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#[cfg(any(check, docsrs))]
|
||||
fn probe_system_deps() {
|
||||
// do not probe libraries since librsvg-2 is generated by Meson
|
||||
}
|
||||
|
||||
#[cfg(not(any(check, docsrs)))]
|
||||
fn probe_system_deps() {
|
||||
// do not probe libraries since the docs.rs environment doesn't have them
|
||||
system_deps::Config::new().probe().unwrap();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
probe_system_deps();
|
||||
}
|
||||
Reference in New Issue
Block a user