From 3e8522a8c766deeb97158cdeb2cd35470063f35f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 27 Jun 2019 20:55:17 -0700 Subject: fixes #956 pthread_atfork error on Arm processor --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2a7d699..fca3e7ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -334,6 +334,7 @@ else () nng_check_lib (rt clock_gettime NNG_HAVE_CLOCK_GETTIME) nng_check_lib (pthread sem_wait NNG_HAVE_SEMAPHORE_PTHREAD) + nng_check_lib (pthread pthread_atfork NNG_HAVE_PTHREAD_ATFORK_PTHREAD) nng_check_lib (nsl gethostbyname NNG_HAVE_LIBNSL) nng_check_lib (socket socket NNG_HAVE_LIBSOCKET) -- cgit v1.2.3-70-g09d2