[Libomptarget][Fix] Remove duplicate version script for host builds
Summary:
This causes an error on some linkers and was mistakenly kept in.
GitOrigin-RevId: 20e0bacd0560382a31ad0d4ecc7472bd4a99c659
diff --git a/libomptarget/plugins-nextgen/host/CMakeLists.txt b/libomptarget/plugins-nextgen/host/CMakeLists.txt
index d30680e..ccbf7d0 100644
--- a/libomptarget/plugins-nextgen/host/CMakeLists.txt
+++ b/libomptarget/plugins-nextgen/host/CMakeLists.txt
@@ -31,11 +31,6 @@
target_include_directories(omptarget.rtl.${machine} PRIVATE dynamic_ffi)
endif()
-if(LIBOMP_HAVE_VERSION_SCRIPT_FLAG)
- target_link_libraries(omptarget.rtl.${machine} PRIVATE
- "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../exports")
-endif()
-
# Install plugin under the lib destination folder.
install(TARGETS omptarget.rtl.${machine}
LIBRARY DESTINATION "${OPENMP_INSTALL_LIBDIR}")