summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-09-11 02:13:08 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2019-09-11 02:15:06 -0400
commit5c3f439bcf6be89872011b3d94aaf82e8897894d (patch)
tree16c3063da8e540ad2f3e20d3b3c8c11ccdc79b11
parente790203a754a95ac16ea713f55bfb88c7f612cec (diff)
downloadlighttpd1.4-master.tar.gz
lighttpd1.4-master.zip
[build] PGSQL_CFLAGS with pkg-config for postgres (#2965)HEADmaster
build postgres modules with $(PGSQL_CFLAGS) in Makefile.am x-ref: "pg_config is deprecated to build postgres client applications" https://redmine.lighttpd.net/issues/2965
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ac50f9c8..8440254e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -209,7 +209,7 @@ lib_LTLIBRARIES += mod_vhostdb_pgsql.la
mod_vhostdb_pgsql_la_SOURCES = mod_vhostdb_pgsql.c
mod_vhostdb_pgsql_la_LDFLAGS = $(common_module_ldflags)
mod_vhostdb_pgsql_la_LIBADD = $(PGSQL_LIBS) $(common_libadd)
-mod_vhostdb_pgsql_la_CPPFLAGS = $(PGSQL_INCLUDE)
+mod_vhostdb_pgsql_la_CPPFLAGS = $(PGSQL_CFLAGS)
endif
if BUILD_WITH_DBI
@@ -522,7 +522,7 @@ lighttpd_LDADD += $(MYSQL_LIBS)
endif
if BUILD_WITH_PGSQL
lighttpd_SOURCES += mod_vhostdb_pgsql.c
-lighttpd_CPPFLAGS += $(PGSQL_INCLUDE)
+lighttpd_CPPFLAGS += $(PGSQL_CFLAGS)
lighttpd_LDADD += $(PGSQL_LIBS)
endif
if BUILD_WITH_DBI