Module: sip-router
Branch: master
Commit: 9945c914e9d964e8854dcd3cfcf4ce20e9ffbaba
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9945c91…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Mar 30 12:27:21 2011 +0200
app_lua: better detection of liblua name for v5.1
---
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