Module: kamailio
Branch: 5.1
Commit: 631ea0b80ee1c95b0362668a67ba0001c8070a2c
URL:
https://github.com/kamailio/kamailio/commit/631ea0b80ee1c95b0362668a67ba000…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-04-09T10:44:46+03: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/631ea0b80ee1c95b0362668a67ba000…
Patch:
https://github.com/kamailio/kamailio/commit/631ea0b80ee1c95b0362668a67ba000…
---
diff --git a/src/modules/db_postgres/Makefile b/src/modules/db_postgres/Makefile
index ca99b66b7b..26a76d8ebc 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