Index: openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt =================================================================== --- openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt +++ openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt @@ -20,6 +20,7 @@ add_definitions(-DDEBUG_PREFIX="PluginInterface") set_property(TARGET PluginInterface PROPERTY POSITION_INDEPENDENT_CODE ON) +set_property(TARGET PluginInterface PROPERTY CXX_VISIBILITY_PRESET protected) llvm_update_compile_flags(PluginInterface) set(LINK_LLVM_LIBS LLVMSupport) if (LLVM_LINK_LLVM_DYLIB)