commit d39c5f1: [Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux

Duncan Bellamy dunk at denkimushi.com
Thu Dec 10 19:21:06 UTC 2020


Author: Duncan Bellamy
Date: 2020-12-10 19:09:28 +0000
URL: https://github.com/rspamd/rspamd/commit/d39c5f1def394cde74d62da325f3f8c2c778eea3 (refs/pull/3575/head)

[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b352188a..076656dee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -140,6 +140,7 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
 
 	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 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
 	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"


More information about the Commits mailing list