[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 15/27: meson: add libpthread detection
From: |
gnunet |
Subject: |
[gnunet] 15/27: meson: add libpthread detection |
Date: |
Thu, 14 Dec 2023 19:23:09 +0100 |
This is an automated email from the git hooks/post-receive script.
sebi pushed a commit to branch master
in repository gnunet.
commit de434580160b07ac3ebf7acdaa1bb4f594db7887
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Dec 8 18:29:26 2023 +0100
meson: add libpthread detection
---
meson.build | 5 +++++
src/service/meson.build | 1 +
src/service/zonemaster/meson.build | 1 +
3 files changed, 7 insertions(+)
diff --git a/meson.build b/meson.build
index 1173fcd36..408a88e58 100644
--- a/meson.build
+++ b/meson.build
@@ -221,6 +221,11 @@ else
endif
endif
+pthread_dep = cc.find_library('pthread', required : false)
+if pthread_dep.found()
+ add_project_arguments('-DHAVE_PTHREAD', language : 'c')
+endif
+
m_dep = cc.find_library('m', required : false)
if m_dep.found()
add_project_arguments('-DHAVE_LIBM', language : 'c')
diff --git a/src/service/meson.build b/src/service/meson.build
index fcd3f7520..cd886ed2e 100644
--- a/src/service/meson.build
+++ b/src/service/meson.build
@@ -60,6 +60,7 @@ libgnunet = library('gnunet',
libgnunetgnsrecordjson_dep,
jose_dep,
m_dep,
+ pthread_dep,
libgnunetcurl_dep],
c_args: ['-DHAVE_GNUNET_MONOLITH=1'],
include_directories: [incdir, configuration_inc, exitdir])
diff --git a/src/service/zonemaster/meson.build
b/src/service/zonemaster/meson.build
index 92333ac8d..6145c608e 100644
--- a/src/service/zonemaster/meson.build
+++ b/src/service/zonemaster/meson.build
@@ -19,6 +19,7 @@ executable ('gnunet-service-zonemaster',
libgnunetutil_dep,
libgnunetdht_dep,
libgnunetidentity_dep,
+ pthread_dep,
libgnunetstatistics_dep,
libgnunetnamecache_dep,
libgnunetnamestore_dep,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] 11/27: Transport: More useful debug logging für service., (continued)
- [gnunet] 11/27: Transport: More useful debug logging für service., gnunet, 2023/12/14
- [gnunet] 05/27: Transport: Fixed bug in handling of AckPending., gnunet, 2023/12/14
- [gnunet] 22/27: meson: add blind signature sources to util - slack coder, gnunet, 2023/12/14
- [gnunet] 23/27: bump debian version, gnunet, 2023/12/14
- [gnunet] 25/27: handbook: update, gnunet, 2023/12/14
- [gnunet] 13/27: meson: more version detection logic, gnunet, 2023/12/14
- [gnunet] 14/27: build: Add generated files for GNS service ports and protocols for BOX, gnunet, 2023/12/14
- [gnunet] 20/27: conversation: fix test new API GNS, gnunet, 2023/12/14
- [gnunet] 16/27: meson: remove gnunetdeps variable; explicitly specifiy dependencies, gnunet, 2023/12/14
- [gnunet] 21/27: conversation: More API fixes, gnunet, 2023/12/14
- [gnunet] 15/27: meson: add libpthread detection,
gnunet <=
- [gnunet] 17/27: TRANSPORT: Handle 0 byte datagram., gnunet, 2023/12/14
- [gnunet] 27/27: Merge branch 'dev/sebi/sbox', gnunet, 2023/12/14
- [gnunet] 19/27: Peerstore: Fixed wrong assert when checking DLL with watches., gnunet, 2023/12/14
- [gnunet] 18/27: Transport: Fixed using wrong function to calculate mean time when to send next fragment., gnunet, 2023/12/14
- [gnunet] 26/27: GNS: Implementation of SBOX records, gnunet, 2023/12/14
- [gnunet] 24/27: NAMESTORE: Remove fcfsd, gnunet, 2023/12/14