summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-01-22 22:23:01 -0800
committerJan Kotas <jkotas@microsoft.com>2016-01-22 22:23:01 -0800
commit119f146b9e4c06a7c30a177cf8283af720aac706 (patch)
treefc25f391f16583410e7541d38ae2cd389032d0bd /src
parent69076e69d49ad39bc32092d30612ec0bb1ea9f83 (diff)
parent10f6678a244b702386a760d16a61f13be1042817 (diff)
downloadcoreclr-119f146b9e4c06a7c30a177cf8283af720aac706.tar.gz
coreclr-119f146b9e4c06a7c30a177cf8283af720aac706.tar.bz2
coreclr-119f146b9e4c06a7c30a177cf8283af720aac706.zip
Merge pull request #2799 from krytarowski/netbsd-support-7
NetBSD: Detect copysign(3) properly on NetBSD inside the math library
Diffstat (limited to 'src')
-rw-r--r--src/pal/src/configure.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/src/configure.cmake b/src/pal/src/configure.cmake
index 7d40d815f8..c5db338ab0 100644
--- a/src/pal/src/configure.cmake
+++ b/src/pal/src/configure.cmake
@@ -46,7 +46,9 @@ check_library_exists(pthread pthread_getattr_np "" HAVE_PTHREAD_GETATTR_NP)
check_library_exists(pthread pthread_sigqueue "" HAVE_PTHREAD_SIGQUEUE)
check_function_exists(sigreturn HAVE_SIGRETURN)
check_function_exists(_thread_sys_sigreturn HAVE__THREAD_SYS_SIGRETURN)
+set(CMAKE_REQUIRED_LIBRARIES m)
check_function_exists(copysign HAVE_COPYSIGN)
+set(CMAKE_REQUIRED_LIBRARIES)
check_function_exists(fsync HAVE_FSYNC)
check_function_exists(futimes HAVE_FUTIMES)
check_function_exists(utimes HAVE_UTIMES)