diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-03-14 14:52:26 +0000 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-03-14 14:52:26 +0000 |
| commit | 850a3d3b923deadaa76185ae78f5925e7d3f80d6 (patch) | |
| tree | 9fe5f7bdd430d0a6a03d3380fba61f61ecaadaf1 /libcxx/lib | |
| parent | bfce36299cd2934c2c101214200ad3d1ac9addf7 (diff) | |
| download | bcm5719-llvm-850a3d3b923deadaa76185ae78f5925e7d3f80d6.tar.gz bcm5719-llvm-850a3d3b923deadaa76185ae78f5925e7d3f80d6.zip | |
[libc++][CMake] Fix typo introduced in r356150
That typo broke the build when the shared library build was disabled.
llvm-svn: 356155
Diffstat (limited to 'libcxx/lib')
| -rw-r--r-- | libcxx/lib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt index 89485d73440..91924f4a2f5 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) |

