X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fbsd%2Fmeson.build;h=cc294792cff22c1ae9cab683a570288869bec94a;hb=28be4baae016a5a771d0d9ec6e97ef38a4fc9e46;hp=d6205f4fa9796d414abf9cae8ad8147c8239a2c6;hpb=4436af55e55e79b496264fe114039fbc1198d71f;p=tinc diff --git a/src/bsd/meson.build b/src/bsd/meson.build index d6205f4f..cc294792 100644 --- a/src/bsd/meson.build +++ b/src/bsd/meson.build @@ -13,18 +13,11 @@ check_functions += [ src_tincd += files('device.c') -if os_name == 'openbsd' - subdir('openbsd') +if os_name != 'darwin' + src_tincd += files('event.c') 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