[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 02/02: BUILD: Meson only build tun helpers on linux
From: |
gnunet |
Subject: |
[gnunet] 02/02: BUILD: Meson only build tun helpers on linux |
Date: |
Fri, 29 Sep 2023 15:51:36 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 7a9b298387cc6e131e1c08cce3459d6d45395bdd
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Sep 29 15:51:29 2023 +0200
BUILD: Meson only build tun helpers on linux
---
src/dns/meson.build | 14 ++++++++------
src/vpn/meson.build | 17 +++++++++--------
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/src/dns/meson.build b/src/dns/meson.build
index 20002a9fc..e08f081c8 100644
--- a/src/dns/meson.build
+++ b/src/dns/meson.build
@@ -56,10 +56,12 @@ executable ('gnunet-dns-redirector',
include_directories: [incdir, configuration_inc],
install: true,
install_dir: get_option('libdir')/'gnunet'/'libexec')
-executable ('gnunet-helper-dns',
- ['gnunet-helper-dns.c'],
- dependencies: [libgnunetdns_dep, libgnunetutil_dep,
libgnunetdns_dep],
- include_directories: [incdir, configuration_inc],
- install: true,
- install_dir: get_option('libdir')/'gnunet'/'libexec')
+if host_machine.system() == 'linux'
+ executable ('gnunet-helper-dns',
+ ['gnunet-helper-dns.c'],
+ dependencies: [libgnunetdns_dep, libgnunetutil_dep,
libgnunetdns_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir')/'gnunet'/'libexec')
+endif
diff --git a/src/vpn/meson.build b/src/vpn/meson.build
index ed53e200e..e77b88432 100644
--- a/src/vpn/meson.build
+++ b/src/vpn/meson.build
@@ -55,11 +55,12 @@ executable ('gnunet-service-vpn',
include_directories: [incdir, configuration_inc, exitdir],
install: true,
install_dir: get_option('libdir') / 'gnunet' / 'libexec')
-executable ('gnunet-helper-vpn',
- ['gnunet-helper-vpn.c'],
- dependencies: [libgnunetvpn_dep,
- libgnunetutil_dep],
- include_directories: [incdir, configuration_inc, exitdir],
- install: true,
- install_dir: get_option('libdir') / 'gnunet' / 'libexec')
-
+if host_machine.system() == 'linux'
+ executable ('gnunet-helper-vpn',
+ ['gnunet-helper-vpn.c'],
+ dependencies: [libgnunetvpn_dep,
+ libgnunetutil_dep],
+ include_directories: [incdir, configuration_inc, exitdir],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+endif
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.