libomp on NetBSD needs libc, libpthread and libm.

llvm-svn: 248200
This commit is contained in:
Joerg Sonnenberger 2015-09-21 19:40:59 +00:00
parent 64be2d271d
commit f16f649e0d
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ add_custom_target(libomp-test-deps DEPENDS test-deps/.success)
set(libomp_expected_library_deps)
if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(libomp_expected_library_deps libc.so.7 libthr.so.3)
elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
set(libomp_expected_library_deps libc.so.12 libpthread.so.1 libm.so.0)
elseif(APPLE)
set(libomp_expected_library_deps /usr/lib/libSystem.B.dylib)
elseif(WIN32)