aboutsummaryrefslogtreecommitdiffstats
path: root/community/rspamd/09-lua-suffix.patch
blob: a468665b8215263039e85e2678e159ed192748e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -140,6 +140,7 @@
 
 	ProcessPackage(LIBLUA LIBRARY	"lua"
 			"lua-5.3"
+			LIB_SUFFIXES	"lua5.3"
 			INCLUDE lua.h INCLUDE_SUFFIXES
 			"include/lua-5.3"
 			"include/lua5.3"
@@ -152,6 +153,7 @@
 	IF (NOT WITH_LIBLUA)
 		ProcessPackage(LIBLUA LIBRARY	"lua"
 				"lua-5.2"
+				LIB_SUFFIXES	"lua5.2"
 				INCLUDE lua.h INCLUDE_SUFFIXES
 				"include/lua-5.2"
 				"include/lua5.2"