aboutsummaryrefslogtreecommitdiff
path: root/src/postgres
diff options
context:
space:
mode:
Diffstat (limited to 'src/postgres')
-rw-r--r--src/postgres/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/postgres/Makefile.am b/src/postgres/Makefile.am
index d005866b29..8723055130 100644
--- a/src/postgres/Makefile.am
+++ b/src/postgres/Makefile.am
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@ -17,6 +17,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