From 32973b08d8cb02c213d96df453ff323470304645 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Sun, 11 Aug 2024 12:58:44 -0700 Subject: [PATCH] [CMake] Followup to #102396 and restore old DynamicLibrary symbols behavior (#102671) Followup to #102138 and #102396, restore more old behavior to fix ppc64-aix bot. --- llvm/unittests/Support/DynamicLibrary/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt b/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt index d8dff1ef4a3f7..e976cba23ee8c 100644 --- a/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt +++ b/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt @@ -17,10 +17,9 @@ set_output_directory(DynamicLibraryLib add_llvm_unittest(DynamicLibraryTests DynamicLibraryTest.cpp - - EXPORT_SYMBOLS ) target_link_libraries(DynamicLibraryTests PRIVATE DynamicLibraryLib) +export_executable_symbols(DynamicLibraryTests) function(dynlib_add_module NAME) add_library(${NAME} MODULE