bootstrap-with-openmp-version-export-missing

===================================================================

Gbp-Pq: Topic openmp
Gbp-Pq: Name bootstrap-with-openmp-version-export-missing.diff
This commit is contained in:
Ubuntu Developers 2022-07-16 17:45:39 +08:00 committed by Lu zhiping
parent 576a4ce268
commit c1e17ea118
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ endif()
# Linking command will include libraries in LIBOMP_CONFIGURED_LIBFLAGS
libomp_get_libflags(LIBOMP_CONFIGURED_LIBFLAGS)
target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS})
target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS}
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports_so.txt")
# Create *.inc before compiling any sources
# objects depend on : .inc files