meson: Fix building survive on auto.

The code didn't do anything.
This commit is contained in:
Lubosz Sarnecki 2020-12-16 16:35:00 +01:00 committed by Jakob Bornecrantz
parent 98ef9a8ef7
commit 8c4b6cef39

View file

@ -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()