[libunwind] Fix path to libunwind for per-target-runtime-dir builds

We recently introduced a from-scratch config to run the libunwind tests.
However, that config was always looking for libunwind in <install>/lib,
and never in <install>/<target>/lib, which is necessary for tests to
work when the per-target-runtime-dir configuration is enabled.

This commit fixes that. I believe this is what caused the CI failures we
saw after 5a8ad80b6fa5 and caused it to be reverted.

Differential Revision: https://reviews.llvm.org/D112322

GitOrigin-RevId: e6f39c8b4891242c0d0d8e7a78041614d9bcdefc
2 files changed
tree: cb97f82e6ff51a97f4d236b3843c3d6872b1e53c
  1. .clang-format
  2. CMakeLists.txt
  3. LICENSE.TXT
  4. cmake/
  5. docs/
  6. include/
  7. src/
  8. test/