[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: build: fix atomic detection in meson
From: |
gnunet |
Subject: |
[gnunet] branch master updated: build: fix atomic detection in meson |
Date: |
Wed, 08 Jan 2025 14:23:54 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 74f73c6be build: fix atomic detection in meson
74f73c6be is described below
commit 74f73c6be15afca250a0a4e68fc9c8731b52d531
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Jan 8 14:23:42 2025 +0100
build: fix atomic detection in meson
---
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 6088d052d..cee4a9b3e 100644
--- a/meson.build
+++ b/meson.build
@@ -406,7 +406,10 @@ if not tun_found and cc.check_header('net/tun/if_tun.h')
endif
# Check for optional libatomic
-atomic_dep = cc.find_library('atomic', required : false)
+atomic_dep = dependency('', required: false)
+if cc.has_function('__atomic_load_8') == false
+ atomic_dep = cc.find_library('atomic', required : true)
+endif
# GNUTLS DANE
if cc.check_header('gnutls/dane.h')
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: build: fix atomic detection in meson,
gnunet <=