From deaa99cf08ef31cb9cca740e925f835a5f532252 Mon Sep 17 00:00:00 2001 From: Lukas Oberhuber Date: Mon, 12 Aug 2024 09:56:42 +0100 Subject: [PATCH] meson: fix MacOS build lua is not available on macOS currently and the lack of lack of the lua variable causes the build to fail. --- extensions/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/meson.build b/extensions/meson.build index 1a526eb309..60bc0ef88f 100644 --- a/extensions/meson.build +++ b/extensions/meson.build @@ -1,6 +1,6 @@ subdir('goat-exercises') -if not meson.is_cross_build() and lua.found() and (platform_windows or not relocatable_bundle) +if not meson.is_cross_build() and is_variable('lua') and lua.found() and (platform_windows or not relocatable_bundle) lua_config = configuration_data() # For Windows, we set the binary name only. # For other OSes, we use the full path (when not in a relocatable