More fixes for #3522
authorSree Harsha Totakura <totakura@in.tum.de>
Thu, 14 Aug 2014 11:17:32 +0000 (11:17 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Thu, 14 Aug 2014 11:17:32 +0000 (11:17 +0000)
src/namecache/Makefile.am
src/namestore/Makefile.am

index eee9885d0b14087c0d8981b4708aae5f1de459f0..4f2c073fa1259dbcc778020180222c8f9679d489 100644 (file)
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
 
 plugindir = $(libdir)/gnunet
 
@@ -130,7 +130,7 @@ libgnunet_plugin_namecache_postgres_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lpq \
   $(LTLIBINTL)
 libgnunet_plugin_namecache_postgres_la_LDFLAGS = \
- $(GN_PLUGIN_LDFLAGS)
+ $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS)
 libgnunet_plugin_namecache_postgres_la_DEPENDENCIES = \
   $(top_builddir)/src/postgres/libgnunetpostgres.la  \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
index 90e95f41cb69f6dbbd1b0fe4bdddc1e0be58d9f6..dba9e6a686ccdac6a0f1e5248b99fb773c3d43cb 100644 (file)
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
 
 plugindir = $(libdir)/gnunet
 
@@ -169,7 +169,7 @@ libgnunet_plugin_namestore_postgres_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lpq \
   $(LTLIBINTL)
 libgnunet_plugin_namestore_postgres_la_LDFLAGS = \
- $(GN_PLUGIN_LDFLAGS)
+ $(GN_PLUGIN_LDFLAGS) $(POSTGRESQL_LDFLAGS)
 libgnunet_plugin_namestore_postgres_la_DEPENDENCIES = \
   $(top_builddir)/src/postgres/libgnunetpostgres.la  \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \