meson: Fix building survive on auto.

The code didn't do anything.
This commit is contained in:
Lubosz Sarnecki authored and Jakob Bornecrantz committed 2020-12-28 13:04:11 +00:00
1 parent 98ef9a8ef7
commit 8c4b6cef39
1 file changed
+2 -4
+2 -4
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()