From f75bf712deecc1be157f7ba6e2fd80922942546c Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 8 Dec 2020 12:15:44 -0500 Subject: [PATCH] [libc++] Use TARGET_FILE instead of TARGET_SONAME_FILE when generating ABI lists TARGET_SONAME_FILE isn't valid on Windows, and TARGET_FILE should achieve the same results. Differential Revision: https://reviews.llvm.org/D92856 --- libcxx/lib/abi/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/lib/abi/CMakeLists.txt b/libcxx/lib/abi/CMakeLists.txt index e25c09b..3d19c0b 100644 --- a/libcxx/lib/abi/CMakeLists.txt +++ b/libcxx/lib/abi/CMakeLists.txt @@ -57,7 +57,7 @@ if (TARGET cxx_shared) "${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/sym_diff.py" --only-stdlib-symbols --strict "${abi_list_file}" - $ + $ DEPENDS cxx_shared COMMENT "Testing libc++'s exported symbols against the ABI list") else() @@ -67,7 +67,7 @@ if (TARGET cxx_shared) add_custom_target(generate-cxx-abilist COMMAND "${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/generate_abi_list.py" --output "${abi_list_file}" - "$" + "$" DEPENDS cxx_shared COMMENT "Generating the ABI list file for configuration ${abi_list_identifier}") else() -- 2.7.4