Module: kamailio Branch: master Commit: 49a34c863335e6b0b09e397d7962395306506c00 URL: https://github.com/kamailio/kamailio/commit/49a34c863335e6b0b09e397d79623953...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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/49a34c863335e6b0b09e397d79623953... Patch: https://github.com/kamailio/kamailio/commit/49a34c863335e6b0b09e397d79623953...
---
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