From 17b05286a06fb55708415c55b56dd1075d18c666 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Wed, 2 Feb 2022 09:24:49 +0200
Subject: [PATCH] Meson: Fix tolua build

See osdn #43765

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 67b8e47fe2..0df2b12504 100644
--- a/meson.build
+++ b/meson.build
@@ -511,7 +511,8 @@ else
     'dependencies/tolua-5.2/src/bin/toluabind.c',
     include_directories : ['dependencies/lua-5.4/src',
                            'dependencies/tolua-5.2/include'],
-    link_with: fc_deps
+    link_with: fc_deps,
+    dependencies: m_dep
   )
 endif
 
-- 
2.34.1