[sr-dev] git:3.1: app_lua: better detection of liblua name for v5.1

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 30 12:29:38 CEST 2011


Module: sip-router
Branch: 3.1
Commit: 2fe4d633e4acb28750d119b659787ff68a3be7c7
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2fe4d633e4acb28750d119b659787ff68a3be7c7

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Mar 30 12:27:21 2011 +0200

app_lua: better detection of liblua name for v5.1
(cherry picked from commit 9945c914e9d964e8854dcd3cfcf4ce20e9ffbaba)

---

 modules/app_lua/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/app_lua/Makefile b/modules/app_lua/Makefile
index 1ba3237..47d6072 100644
--- a/modules/app_lua/Makefile
+++ b/modules/app_lua/Makefile
@@ -13,7 +13,7 @@ BUILDER = $(shell which lua-config)
 ifeq ($(BUILDER),)
 	BUILDER = $(shell which pkg-config)
 	ifeq ($(BUILDER),)
-		LUA51 = $(shell ls /usr/lib/liblua* | grep 5.1)
+		LUA51 = $(shell ls /usr/lib/liblua* | grep liblua5.1)
 		ifeq ($(LUA51),)
 			DEFS+=-I/usr/include/lua
 			LIBS= -llua
@@ -24,7 +24,7 @@ ifeq ($(BUILDER),)
 	else
 		LUALIBS = $(shell pkg-config --silence-errors --libs lua)
 		ifeq ($(LUALIBS),)
-			LUA51 = $(shell ls /usr/lib/liblua* | grep 5.1)
+			LUA51 = $(shell ls /usr/lib/liblua* | grep liblua5.1)
 			ifeq ($(LUA51),)
 				DEFS+=-I/usr/include/lua
 				LIBS= -llua




More information about the sr-dev mailing list