-fix format warning
[oweals/gnunet.git] / src / postgres / Makefile.am
index a9a7cdfae60e5cae698847b2daf5f331230aa333..6f37e1918634ad0787b7ca9921451e1b2223db72 100644 (file)
@@ -1,4 +1,5 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
+# This Makefile.am is in the public domain
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
 
 if MINGW
   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@ -8,7 +9,7 @@ if USE_COVERAGE
   AM_CFLAGS = --coverage
 endif
 
-if HAVE_POSTGRES
+if HAVE_POSTGRESQL
 lib_LTLIBRARIES = libgnunetpostgres.la
 endif
 
@@ -17,6 +18,7 @@ libgnunetpostgres_la_SOURCES = \
 libgnunetpostgres_la_LIBADD = -lpq \
  $(top_builddir)/src/util/libgnunetutil.la
 libgnunetpostgres_la_LDFLAGS = \
+ $(POSTGRESQL_LDFLAGS) \
  $(GN_LIB_LDFLAGS) \
   -version-info 0:0:0