[libcxx] Fix the libc++abi header path
authorPetr Hosek <phosek@google.com>
Wed, 28 Apr 2021 06:30:53 +0000 (23:30 -0700)
committerPetr Hosek <phosek@google.com>
Wed, 28 Apr 2021 06:30:53 +0000 (23:30 -0700)
This addresses an issue introduced in 775e55462a64.

libcxx/cmake/Modules/HandleLibCXXABI.cmake

index 987bb40..5a8a4a2 100644 (file)
@@ -54,7 +54,7 @@ macro(setup_abi_lib abidefines abishared abistatic abifiles abidirs)
 
         # TODO: libc++ shouldn't be responsible for copying the libc++abi
         # headers into the right location.
-        set(dst "${LIBCXX_GENERATED_INCLUDE_DIR}/include/c++/v1/${dstdir}/${fpath}")
+        set(dst "${LIBCXX_GENERATED_INCLUDE_DIR}/${dstdir}/${fpath}")
         add_custom_command(OUTPUT ${dst}
             DEPENDS ${src}
             COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}