]> tinc-vpn.org Git - tinc/blobdiff - src/bsd/meson.build
Move macOS-specific code into a subdirectory
[tinc] / src / bsd / meson.build
index d6205f4fa9796d414abf9cae8ad8147c8239a2c6..e6062dc8fa551038739dd80af85ff33c89faedfb 100644 (file)
@@ -13,18 +13,7 @@ check_functions += [
 
 src_tincd += files('device.c')
 
-if os_name == 'openbsd'
-  subdir('openbsd')
-endif
-
-if os_name == 'darwin'
-  dep_tunemu = dependency('tunemu', required: opt_tunemu, static: static)
-  dep_pcap = dependency('pcap', required: opt_tunemu, static: static)
-
-  if dep_tunemu.found() and dep_pcap.found()
-    deps_tincd += [dep_tunemu, dep_pcap]
-    src_tincd += files('tunemu.c')
-    cdata.set('ENABLE_TUNEMU', 1)
-  endif
+if os_name in ['openbsd', 'darwin']
+  subdir(os_name)
 endif