summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-08-10 22:15:10 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2018-08-10 22:15:10 +0800
commit61c310526265f5d11ef7ab259090e2dee073e5f5 (patch)
tree5250f722592e202b7ff4f7fa12b484858bd3c7a6
parentcc8df5f683c4f33ff8e9b86f3691373c27c794da (diff)
downloadgrilo-plugins-61c310526265f5d11ef7ab259090e2dee073e5f5.tar.gz
build: Try lua-5.3 when finding Lua
On FreeBSD, the executable is called 'lua53', but the .pc file has the file name 'lua-5.3.pc'.
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 5521cfa..83a83a0 100644
--- a/meson.build
+++ b/meson.build
@@ -76,6 +76,9 @@ endif
lua_dep = dependency('lua', version: '>= 5.3.0', required: false)
if not lua_dep.found()
lua_dep = dependency('lua5.3', version: '>= 5.3.0', required: false)
+ if not lua_dep.found()
+ lua_dep = dependency('lua-5.3', version: '>= 5.3.0', required: false)
+ endif
endif
gperf = find_program('gperf', required: false)