about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorDavid Tenty <daltenty@ibm.com>2024-11-07 16:52:55 -0500
committerDavid Tenty <daltenty@ibm.com>2024-11-07 16:52:55 -0500
commit2ade671b4fed8100c732a3ab947787dbba60e6ed (patch)
treec005d8be5660563549066966b0a1dcf202f39889 /src/bootstrap
parentfe43131683267082fc46be5796ce84351e9fb497 (diff)
downloadrust-2ade671b4fed8100c732a3ab947787dbba60e6ed.tar.gz
rust-2ade671b4fed8100c732a3ab947787dbba60e6ed.zip
[AIX] handle libunwind native_libs
AIX should follow a similar path here to other libunwind platforms, with regards to system vs in-tree libunwind and the native lib search directories
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/build_steps/compile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/compile.rs b/src/bootstrap/src/core/build_steps/compile.rs
index 3394f2a84a0..de714469abc 100644
--- a/src/bootstrap/src/core/build_steps/compile.rs
+++ b/src/bootstrap/src/core/build_steps/compile.rs
@@ -330,7 +330,7 @@ fn copy_third_party_objects(
 
     if target == "x86_64-fortanix-unknown-sgx"
         || builder.config.llvm_libunwind(target) == LlvmLibunwind::InTree
-            && (target.contains("linux") || target.contains("fuchsia"))
+            && (target.contains("linux") || target.contains("fuchsia") || target.contains("aix"))
     {
         let libunwind_path =
             copy_llvm_libunwind(builder, target, &builder.sysroot_target_libdir(*compiler, target));