summaryrefslogtreecommitdiffstats
path: root/libunwind/src
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-01-30 19:51:18 +0000
committerPetr Hosek <phosek@chromium.org>2019-01-30 19:51:18 +0000
commitc0b3d36990834ebd4bd46d20046a2dd2d995cca4 (patch)
tree4504f22a63d2dd92f23fd7c90a584963946ca600 /libunwind/src
parent6d110d6afe2d1d7ec614a266026c51b169c15cc5 (diff)
downloadbcm5719-llvm-c0b3d36990834ebd4bd46d20046a2dd2d995cca4.tar.gz
bcm5719-llvm-c0b3d36990834ebd4bd46d20046a2dd2d995cca4.zip
Revert "[CMake] Use correct visibility for linked libraries in CMake"
This reverts commit r352654: this broke libcxx and sanitizer bots. llvm-svn: 352658
Diffstat (limited to 'libunwind/src')
-rw-r--r--libunwind/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt
index 2928a14dea0..080e8c5ad58 100644
--- a/libunwind/src/CMakeLists.txt
+++ b/libunwind/src/CMakeLists.txt
@@ -146,7 +146,7 @@ if (LIBUNWIND_ENABLE_SHARED)
if(COMMAND llvm_setup_rpath)
llvm_setup_rpath(unwind_shared)
endif()
- target_link_libraries(unwind_shared PRIVATE ${libraries})
+ target_link_libraries(unwind_shared ${libraries})
set_target_properties(unwind_shared
PROPERTIES
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}"
@@ -162,7 +162,7 @@ endif()
# Build the static library.
if (LIBUNWIND_ENABLE_STATIC)
add_library(unwind_static STATIC ${unwind_static_sources})
- target_link_libraries(unwind_static PRIVATE ${libraries})
+ target_link_libraries(unwind_static ${libraries})
set_target_properties(unwind_static
PROPERTIES
LINK_FLAGS "${LIBUNWIND_LINK_FLAGS}"
OpenPOWER on IntegriCloud