X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fbsd%2Fmeson.build;h=e6062dc8fa551038739dd80af85ff33c89faedfb;hb=f86a5f1d70206321b01ec60f6a69f8cbf1a2b732;hp=d6205f4fa9796d414abf9cae8ad8147c8239a2c6;hpb=4436af55e55e79b496264fe114039fbc1198d71f;p=tinc diff --git a/src/bsd/meson.build b/src/bsd/meson.build index d6205f4f..e6062dc8 100644 --- a/src/bsd/meson.build +++ b/src/bsd/meson.build @@ -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