浏览代码

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

Daniel-Constantin Mierla 6 年之前
父节点
当前提交
49a34c8633
共有 1 个文件被更改,包括 3 次插入3 次删除
  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
 
 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