Skip to content

Commit ec709ee

Browse files
authored
Merge pull request #6165 from martin-frbg/cmake_clapack_vis
Ensure symbol visibility for the C LAPACK in CMAKE builds
2 parents af560c1 + 5a2029d commit ec709ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cmake/lapack.cmake‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,5 +1054,5 @@ if (NOT C_LAPACK)
10541054
set_source_files_properties(${LA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_FFLAGS} -fno-tree-vectorize")
10551055
endif()
10561056
else ()
1057-
set_source_files_properties(${LA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS}")
1057+
set_source_files_properties(${LA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS} -fvisibility=default")
10581058
endif ()

0 commit comments

Comments
 (0)