From f16f649e0dd33944ecbd27085596ae25d88d65bb Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Mon, 21 Sep 2015 19:40:59 +0000 Subject: [PATCH] libomp on NetBSD needs libc, libpthread and libm. llvm-svn: 248200 --- openmp/runtime/cmake/LibompMicroTests.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openmp/runtime/cmake/LibompMicroTests.cmake b/openmp/runtime/cmake/LibompMicroTests.cmake index bf5afaba7f42..dd24748766b4 100644 --- a/openmp/runtime/cmake/LibompMicroTests.cmake +++ b/openmp/runtime/cmake/LibompMicroTests.cmake @@ -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)