summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2b78d4e0..700a0e08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -327,7 +327,7 @@ else ()
# libatomic map file.
#
# Arguably when using clang, compiler-rt might be better.
- nng_check_lib(__atomic_load_1 atomic NNG_HAVE_LIBATOMIC)
+ nng_check_lib(atomic __atomic_load_1 NNG_HAVE_LIBATOMIC)
nng_check_sym(AF_UNIX sys/socket.h NNG_HAVE_UNIX_SOCKETS)
nng_check_sym(backtrace_symbols_fd execinfo.h NNG_HAVE_BACKTRACE)