This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/579-automatic-dependency-deduction
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/579-automatic-dependency-deduction by this push:
     new f0345ccc mDNSResponder does not compile on MacOS.
f0345ccc is described below

commit f0345cccc91fc55c1aa18c7e8de4ed859f53aa2b
Author: PengZheng <[email protected]>
AuthorDate: Wed Jun 28 18:13:46 2023 +0800

    mDNSResponder does not compile on MacOS.
---
 conanfile.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/conanfile.py b/conanfile.py
index 604fafd4..2efafb1b 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -145,6 +145,9 @@ class CelixConan(ConanFile):
         if self.options.build_rsa_discovery_zeroconf and self.settings.os != 
"Linux":
             raise ConanInvalidConfiguration("Celix 
build_rsa_discovery_zeroconf is only supported for Linux")
 
+        if self.options.build_shell_bonjour and self.settings.os != "Linux":
+            raise ConanInvalidConfiguration("Celix build_shell_bonjour is only 
supported for Linux")
+
         try:
             val = int(self.options.celix_err_buffer_size)
             if val <= 0:
@@ -176,6 +179,7 @@ class CelixConan(ConanFile):
             if self.settings.os != "Linux":
                 self.options.build_rsa_remote_service_admin_shm_v2 = False
                 self.options.build_rsa_discovery_zeroconf = False
+                self.options.self.options.build_shell_bonjour = False
 
         if not self.options.celix_cxx14:
             self.options.celix_cxx17 = False

Reply via email to