[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: BUILD: Some comments for libgnunet build
From: |
gnunet |
Subject: |
[gnunet] branch master updated: BUILD: Some comments for libgnunet build. |
Date: |
Sat, 21 Oct 2023 08:06:05 +0200 |
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 b6ca19a9e BUILD: Some comments for libgnunet build.
new 53e04f453 Merge branch 'master' of git+ssh://git.gnunet.org/gnunet
b6ca19a9e is described below
commit b6ca19a9e95457b43bae817af569bbe0ceaaa21f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Oct 20 16:20:00 2023 +0200
BUILD: Some comments for libgnunet build.
---
src/meson.build | 4 ----
src/service/meson.build | 11 +++++++++++
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index 8f8342a4d..03b5fd3eb 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,7 +1,3 @@
-if get_option('monolith') == true
- gnunet_src = []
-endif
-
subdir('include')
subdir('lib')
subdir('plugin')
diff --git a/src/service/meson.build b/src/service/meson.build
index b089c9794..4992abb94 100644
--- a/src/service/meson.build
+++ b/src/service/meson.build
@@ -1,3 +1,9 @@
+# We collect all sources for the 'big' libgnunet when traversing
+# the subdirectories.
+if get_option('monolith')
+ gnunet_src = []
+endif
+
subdir('util')
subdir('arm')
subdir('statistics')
@@ -35,6 +41,11 @@ subdir('rest')
if not get_option('monolith')
subdir_done()
endif
+
+# Compile the 'big' libgnunet shared library.
+# It must be compiled with HAVE_GNUNET_MONOLITH to enable
+# the correct service macros that do not inject main() functions
+# to services.
libgnunet = library('gnunet',
gnunet_src,
dependencies: [gnunetdeps,
--
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: Some comments for libgnunet build.,
gnunet <=