[libcxx-commits] [libcxx] [libc++][AIX] Add system library path via blibpath for lldb (PR #223837)

Jake Egan via libcxx-commits libcxx-commits at lists.llvm.org
Sat Sep 19 06:18:47 PDT 2026


https://github.com/jakeegan updated https://github.com/llvm/llvm-project/pull/223837

>From 03b6b68c1485820cfd4a4a5ca6719433afa65a81 Mon Sep 17 00:00:00 2001
From: Jake Egan <Jake.egan at ibm.com>
Date: Tue, 15 Sep 2026 17:14:26 -0400
Subject: [PATCH] Update link flags and exec command in config

---
 libcxx/test/configs/ibm-libc++-shared.cfg.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcxx/test/configs/ibm-libc++-shared.cfg.in b/libcxx/test/configs/ibm-libc++-shared.cfg.in
index 3fcf64e3537e0e..faf04b2b2de333 100644
--- a/libcxx/test/configs/ibm-libc++-shared.cfg.in
+++ b/libcxx/test/configs/ibm-libc++-shared.cfg.in
@@ -13,10 +13,10 @@ config.substitutions.append(('%{compile_flags}',
     '-nostdinc++ -D__LIBC_NO_CPP_MATH_OVERLOADS__ -I %{include-dir} -I %{libcxx-dir}/test/support'
 ))
 config.substitutions.append(('%{link_flags}',
-    '-nostdlib++ -L %{lib-dir} -lc++ -lc++abi -latomic -Wl,-bbigtoc'
+    '-nostdlib++ -L %{lib-dir} -lc++ -lc++abi -latomic -Wl,-bbigtoc -Wl,-blibpath:%{lib-dir}:/usr/lib:/lib'
 ))
 config.substitutions.append(('%{exec}',
-    '%{executor} --execdir %{temp} --env LIBPATH=%{lib-dir} -- '
+    '%{executor} --execdir %{temp} -- '
 ))
 
 # LIBCXX-AIX-FIXME is the feature name used to XFAIL the



More information about the libcxx-commits mailing list