From 8c4b6cef3945f7e27e8867aac0638a6ed024787c Mon Sep 17 00:00:00 2001
From: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
Date: Wed, 16 Dec 2020 16:35:00 +0100
Subject: [PATCH] meson: Fix building survive on auto.

The code didn't do anything.
---
 meson.build | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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