Explorar o código

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

Daniel-Constantin Mierla %!s(int64=6) %!d(string=hai) anos
pai
achega
49a34c8633
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/modules/db_postgres/Makefile

+ 3 - 3
src/modules/db_postgres/Makefile

@@ -10,13 +10,13 @@ NAME=db_postgres.so
 # CROSS_COMPILE=true
 # CROSS_COMPILE=true
 
 
 ifeq ($(CROSS_COMPILE),)
 ifeq ($(CROSS_COMPILE),)
-LIBPQL_BUILDER = $(shell \
+LIBPQ_BUILDER = $(shell \
 	if pkg-config --exists libpq; then \
 	if pkg-config --exists libpq; then \
 		echo 'pkg-config libpq'; \
 		echo 'pkg-config libpq'; \
 	fi)
 	fi)
 ifneq ($(LIBPQ_BUILDER),)
 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
 endif
 endif