diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt index e6856c751f21..96cbe46925e7 100644 --- a/libcxxabi/CMakeLists.txt +++ b/libcxxabi/CMakeLists.txt @@ -93,7 +93,7 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) set(LLVM_INCLUDE_TESTS OFF) endif() - set(LIBCXXABI_LIBDIR_SUFFIX "" CACHE STRING + set(LIBCXXABI_LIBDIR_SUFFIX "${LLVM_LIBDIR_SUFFIX}" CACHE STRING "Define suffix of library directory name (32/64)") set(LIBCXXABI_BUILT_STANDALONE 1)