From 3221a5e77bb4c8650a4a67d5db7807d2f73bcc09 Mon Sep 17 00:00:00 2001
From: Ryan Lucia <ryan@luciaonline.net>
Date: Sun, 15 Nov 2020 12:43:26 -0500
Subject: [PATCH] meson: search for 'system' module with system boost

System was made header-only by 1.74, so we can't check for it in the submodule, but when linking with older system boosts we need to make sure it gets linked in
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6b8e0b128..88e222983 100644
--- a/meson.build
+++ b/meson.build
@@ -81,7 +81,7 @@ deps += dependency('libass', version: '>=0.9.7',
 boost_modules = ['chrono', 'filesystem', 'thread', 'locale', 'regex']
 if not get_option('local_boost')
     boost_dep = dependency('boost', version: '>=1.50.0',
-                            modules: boost_modules,
+                            modules: boost_modules + ['system'],
                             required: false,
                             static: get_option('default_library') == 'static')
 endif
-- 
GitLab