From cb6f08bae6871ddd6a527fd596d9db0f4ae3af92 Mon Sep 17 00:00:00 2001
From: Karel Slany <karel.slany@nic.cz>
Date: Wed, 15 Apr 2015 16:14:03 +0200
Subject: [PATCH] build: added another possible name for lua package

On FreeBSD the lua package was not detected. (Tested on 9.3 and 10.1).
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 6e4b7ca5c..57fc55af6 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ $(eval $(call find_lib,libknot))
 $(eval $(call find_lib,libuv))
 $(eval $(call find_alt,lua,luajit))
 $(eval $(call find_alt,lua,lua5.2))
+$(eval $(call find_alt,lua,lua-5.2))
 $(eval $(call find_alt,lua,lua))
 $(eval $(call find_lib,cmocka))
 $(eval $(call find_bin,doxygen))
-- 
GitLab