Skip to content

Commit e5b97a9

Browse files
committed
Allow libatomic.so.1
1 parent 59d8fab commit e5b97a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const ELF_ALLOWED_LIBRARIES: &[&str] = &[
6868
"libpthread.so.0",
6969
"librt.so.1",
7070
"libutil.so.1",
71+
"libatomic.so.1",
7172
];
7273

7374
const PE_ALLOWED_LIBRARIES: &[&str] = &[
@@ -1487,8 +1488,7 @@ fn validate_extension_modules(
14871488
wanted.extend(GLOBAL_EXTENSIONS_LINUX_PRE_3_13);
14881489
}
14891490

1490-
if !is_linux_musl && matches!(python_major_minor, "3.9" | "3.10" | "3.11" | "3.12")
1491-
{
1491+
if !is_linux_musl && matches!(python_major_minor, "3.9" | "3.10" | "3.11" | "3.12") {
14921492
wanted.insert("ossaudiodev");
14931493
}
14941494
}

0 commit comments

Comments
 (0)