diff --git a/meson.build b/meson.build index 40c817ced..e521a8f51 100644 --- a/meson.build +++ b/meson.build @@ -203,10 +203,8 @@ if gst_found and ('auto' in drivers or 'vf' in drivers) endif endif -if survive.found() and ('survive' in drivers) - if 'survive' not in drivers - drivers += ['survive'] - endif +if survive.found() and ('auto' in drivers and 'survive' not in drivers) + drivers += ['survive'] endif if not get_option('dbus').disabled() and dbus.found()