[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
This commit is contained in:
Louis Dionne 2020-12-08 12:15:44 -05:00
parent ece3e5bb8b
commit f75bf712de
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ if (TARGET cxx_shared)
"${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/sym_diff.py"
--only-stdlib-symbols
--strict "${abi_list_file}"
$<TARGET_SONAME_FILE:cxx_shared>
$<TARGET_FILE:cxx_shared>
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}"
"$<TARGET_SONAME_FILE:cxx_shared>"
"$<TARGET_FILE:cxx_shared>"
DEPENDS cxx_shared
COMMENT "Generating the ABI list file for configuration ${abi_list_identifier}")
else()