diff --git a/library/src/CMakeLists.txt b/library/src/CMakeLists.txt index e2cb4fc3f..a4dce5b3e 100755 --- a/library/src/CMakeLists.txt +++ b/library/src/CMakeLists.txt @@ -377,6 +377,7 @@ if( BUILD_WITH_TENSILE ) #target_link_libraries( rocblas PRIVATE Tensile TensileHost ) if( BUILD_SHARED_LIBS ) target_link_libraries( rocblas PRIVATE TensileHost ) + target_link_libraries( rocblas PRIVATE "-Xlinker --exclude-libs=ALL" ) # HIDE symbols else() target_compile_definitions( rocblas PRIVATE ROCBLAS_STATIC_LIB )