From 850a3d3b923deadaa76185ae78f5925e7d3f80d6 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 14 Mar 2019 14:52:26 +0000 Subject: [PATCH] [libc++][CMake] Fix typo introduced in r356150 That typo broke the build when the shared library build was disabled. llvm-svn: 356155 --- libcxx/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt index 89485d73440f..91924f4a2f53 100644 --- a/libcxx/lib/CMakeLists.txt +++ b/libcxx/lib/CMakeLists.txt @@ -234,7 +234,7 @@ if (LIBCXX_ENABLE_STATIC) LINK_FLAGS "${LIBCXX_LINK_FLAGS}" OUTPUT_NAME "c++" ) - cxx_set_common_defines(cxx_shared) + cxx_set_common_defines(cxx_static) if (LIBCXX_HERMETIC_STATIC_LIBRARY) append_flags_if_supported(CXX_STATIC_LIBRARY_FLAGS -fvisibility=hidden) -- 2.34.1