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.
This commit is contained in:
parent
68462fb25e
commit
deaa99cf08
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue