[sr-dev] git:5.1:631ea0b8: db_postgres: Makefile - fixed name of variable used to detect pkg-config
Sergey Safarov
s.safarov at gmail.com
Wed Apr 10 10:54:44 CEST 2019
Module: kamailio
Branch: 5.1
Commit: 631ea0b80ee1c95b0362668a67ba0001c8070a2c
URL: https://github.com/kamailio/kamailio/commit/631ea0b80ee1c95b0362668a67ba0001c8070a2c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Sergey Safarov <s.safarov at 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/631ea0b80ee1c95b0362668a67ba0001c8070a2c.diff
Patch: https://github.com/kamailio/kamailio/commit/631ea0b80ee1c95b0362668a67ba0001c8070a2c.patch
---
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
More information about the sr-dev
mailing list