mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 17:56:06 +00:00

The existing logic adds `-rpath` to CGO_LDFLAGS, which is not a valid linker option on AIX. This patch substitutes it with `-blibpath` on AIX. Reviewed By: daltenty Differential Revision: https://reviews.llvm.org/D113704