about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-08-01 00:38:21 -0400
committerGitHub <noreply@github.com>2025-08-01 00:38:21 -0400
commite11bcb6fe17cea6a4bda816b0f991010670b0487 (patch)
treef1f7ab237859e00a77040376202f0ce33f9c0723
parent400b8b68622407de11b21be3461648521fba11f1 (diff)
parent37d52ed092b1bb2d263702f59da56c06b7b26613 (diff)
Rollup merge of #144751 - dalvescb:curtisd/aix_libextension, r=Noratrieb
Add correct dynamic_lib_extension for aix

AIX uses `.a` for static and shared libraries, this fixes a number of `run-make` tests on AIX
-rw-r--r--src/tools/run-make-support/src/artifact_names.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/run-make-support/src/artifact_names.rs b/src/tools/run-make-support/src/artifact_names.rs
index a889b30e145..a2bb1186944 100644
--- a/src/tools/run-make-support/src/artifact_names.rs
+++ b/src/tools/run-make-support/src/artifact_names.rs
@@ -35,6 +35,8 @@ pub fn dynamic_lib_extension() -> &'static str {
         "dylib"
     } else if target.contains("windows") {
         "dll"
+    } else if target.contains("aix") {
+        "a"
     } else {
         "so"
     }