--- a/src/meson.build
+++ b/src/meson.build
@@ -23,6 +23,7 @@
 # Lua has no official .pc file
 # so distros come up with their own names
 lua_names = [
+    'lua54',
     'lua5.4', # Debian
     'lua-5.4', # FreeBSD
     'lua',    # Fedora
