diff --git a/src/auditwheel/audit.rs b/src/auditwheel/audit.rs index c56e985dc..962cb6a27 100644 --- a/src/auditwheel/audit.rs +++ b/src/auditwheel/audit.rs @@ -212,7 +212,7 @@ fn policy_is_satisfied( )); } // Check for libpython and forbidden libraries - let is_libpython = Regex::new(r"^libpython3\.\d+\.so\.\d+\.\d+$").unwrap(); + let is_libpython = Regex::new(r"^libpython3\.\d+m?u?\.so\.\d+\.\d+$").unwrap(); let offenders: Vec = offending_libs.into_iter().collect(); match offenders.as_slice() { [] => Ok(()),