Module: kamailio
Branch: 5.2
Commit: 86944f591edcc8436d2303ac0861992ad25ad5bd
URL:
https://github.com/kamailio/kamailio/commit/86944f591edcc8436d2303ac0861992…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T11:45:01+02:00
db_postgres: Makefile - fixed name of variable used to detect pkg-config
(cherry picked from commit 49a34c863335e6b0b09e397d7962395306506c00)
---
Modified: src/modules/db_postgres/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/86944f591edcc8436d2303ac0861992…
Patch:
https://github.com/kamailio/kamailio/commit/86944f591edcc8436d2303ac0861992…
---
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