[libcxx-commits] [libcxx] r356155 - [libc++][CMake] Fix typo introduced in r356150
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 14 07:52:26 PDT 2019
Author: ldionne
Date: Thu Mar 14 07:52:26 2019
New Revision: 356155
URL: http://llvm.org/viewvc/llvm-project?rev=356155&view=rev
Log:
[libc++][CMake] Fix typo introduced in r356150
That typo broke the build when the shared library build was disabled.
Modified:
libcxx/trunk/lib/CMakeLists.txt
Modified: libcxx/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/lib/CMakeLists.txt?rev=356155&r1=356154&r2=356155&view=diff
==============================================================================
--- libcxx/trunk/lib/CMakeLists.txt (original)
+++ libcxx/trunk/lib/CMakeLists.txt Thu Mar 14 07:52:26 2019
@@ -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)
More information about the libcxx-commits
mailing list