diff --git a/openmp/libomptarget/plugins/remote/server/CMakeLists.txt b/openmp/libomptarget/plugins/remote/server/CMakeLists.txt --- a/openmp/libomptarget/plugins/remote/server/CMakeLists.txt +++ b/openmp/libomptarget/plugins/remote/server/CMakeLists.txt @@ -28,4 +28,5 @@ protobuf absl::synchronization ${OPENMP_PTHREAD_LIB} + omp "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../../exports") diff --git a/openmp/libomptarget/plugins/remote/src/CMakeLists.txt b/openmp/libomptarget/plugins/remote/src/CMakeLists.txt --- a/openmp/libomptarget/plugins/remote/src/CMakeLists.txt +++ b/openmp/libomptarget/plugins/remote/src/CMakeLists.txt @@ -36,6 +36,7 @@ protobuf absl::synchronization ${OPENMP_PTHREAD_LIB} + omp "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../../exports") # Report to the parent scope that we are building a plugin for RPC.