[sr-dev] git:master:49a34c86: db_postgres: Makefile - fixed name of variable used to detect pkg-config

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 1 16:53:15 CEST 2019


Module: kamailio
Branch: master
Commit: 49a34c863335e6b0b09e397d7962395306506c00
URL: https://github.com/kamailio/kamailio/commit/49a34c863335e6b0b09e397d7962395306506c00

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-04-01T16:52:21+02:00

db_postgres: Makefile - fixed name of variable used to detect pkg-config

---

Modified: src/modules/db_postgres/Makefile

---

Diff:  https://github.com/kamailio/kamailio/commit/49a34c863335e6b0b09e397d7962395306506c00.diff
Patch: https://github.com/kamailio/kamailio/commit/49a34c863335e6b0b09e397d7962395306506c00.patch

---

diff --git a/src/modules/db_postgres/Makefile b/src/modules/db_postgres/Makefile
index 2663ee7515..0d26d8609e 100644
--- a/src/modules/db_postgres/Makefile
+++ b/src/modules/db_postgres/Makefile
@@ -10,13 +10,13 @@ NAME=db_postgres.so
 # CROSS_COMPILE=true
 
 ifeq ($(CROSS_COMPILE),)
-LIBPQL_BUILDER = $(shell \
+LIBPQ_BUILDER = $(shell \
 	if pkg-config --exists libpq; then \
 		echo 'pkg-config libpq'; \
 	fi)
 ifneq ($(LIBPQ_BUILDER),)
-	DEFS += $(shell $(LIBPQL_BUILDER) --cflags)
-	LIBS += $(shell $(LIBPQL_BUILDER) --libs)
+	DEFS += $(shell $(LIBPQ_BUILDER) --cflags)
+	LIBS += $(shell $(LIBPQ_BUILDER) --libs)
 endif
 endif
 




More information about the sr-dev mailing list