Files
build_soong/cc
Colin Cross 225a37a7f0 Use the same rpaths for tests and binaries and cc and rust
Rust and cc binaries currently use $ORIGIN/lib64:$ORIGIN/../lib64 as the
rpath, and cc tests add $ORIGIN/../../lib64:$ORIGIN/../../../$ORIGIN:$ORIGIN.
This causes problems when a binary is included as test data in
out/host/linux-x86/testcases/<test dir>/<CPU>/<test>, as the
binaries can't find the libraries in out/host/linux-x86/lib64.

Use the same rpath for test and binaries, and for cc and rust.

Bug: 264604160
Test: m USE_HOST_MUSL=true out/host/linux-x86/testcases/acpi_tables_test_src_lib/x86_64/acpi_tables_test_src_lib && out/host/linux-x86/testcases/acpi_tables_test_src_lib/x86_64/acpi_tables_test_src_lib
Test: m USE_HOST_MUSL=true out/host/linux-x86/testcases/gen_sdk_test/x86_64/gen_sdk_test && out/host/linux-x86/testcases/gen_sdk_test/x86_64/toybox
Change-Id: I10fe5dc0de01d1f3c6aea8dbabbf60edab5989c3
2023-01-11 16:04:19 -08:00
..
2022-10-05 09:06:49 +09:00
2022-10-10 15:33:50 +00:00
2022-12-05 13:43:29 -05:00
2022-12-05 13:43:29 -05:00
2023-01-07 14:46:22 +00:00
2022-05-05 16:36:56 +01:00
2022-12-12 17:33:05 +00:00
2022-12-01 20:01:03 +00:00
2022-08-17 10:43:13 -07:00
2022-05-05 16:36:56 +01:00
2022-12-05 13:43:29 -05:00
2021-04-26 18:41:00 -07:00
2022-12-05 13:43:29 -05:00
2022-10-20 14:31:24 -07:00
2022-09-30 19:32:48 -07:00
2022-08-31 19:40:22 +00:00
2023-01-07 14:46:22 +00:00
2022-11-30 16:36:14 +09:00
2022-10-06 15:24:11 +00:00
2022-04-25 16:00:17 -04:00
2022-12-21 10:17:44 +09:00