Module: sip-router
Branch: master
Commit: c290e58b7f50bdd7f9d691c4890baf1c9f74cb0d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c290e58…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Sat Apr 19 11:06:48 2014 +0200
json|jsonrpc-c: fix detection of json-c lib
---
modules/json/Makefile | 2 +-
modules/jsonrpc-c/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/json/Makefile b/modules/json/Makefile
index fad2e00..2ee06ef 100644
--- a/modules/json/Makefile
+++ b/modules/json/Makefile
@@ -14,7 +14,7 @@ BUILDER = $(shell which pkg-config)
ifeq ($(BUILDER),)
JSONC=$(shell ls $(SYSBASE)/include/lib/libjson*.so $(LOCALBASE)/lib/libjson*.so
2>/dev/null | grep json-c)
else
- JSONC=$(shell pkg-config --libs json-c 2>/dev/null | grep json-c.so)
+ JSONC=$(shell pkg-config --libs json-c 2>/dev/null | grep json-c)
endif
ifneq ($(JSONC),)
diff --git a/modules/jsonrpc-c/Makefile b/modules/jsonrpc-c/Makefile
index e170597..171eb27 100644
--- a/modules/jsonrpc-c/Makefile
+++ b/modules/jsonrpc-c/Makefile
@@ -14,7 +14,7 @@ BUILDER = $(shell which pkg-config)
ifeq ($(BUILDER),)
JSONC=$(shell ls $(SYSBASE)/include/lib/libjson*.so $(LOCALBASE)/lib/libjson*.so
2>/dev/null | grep json-c)
else
- JSONC=$(shell pkg-config --libs json-c 2>/dev/null | grep json-c.so)
+ JSONC=$(shell pkg-config --libs json-c 2>/dev/null | grep json-c)
endif
ifneq ($(JSONC),)