guix-env: some update.
[oweals/gnunet.git] / src / sq / Makefile.am
index 7197e7ab44d77270df8319b3b63817a368cecf6b..119a9473497de388ec9e48d81871a983d03e9e14 100644 (file)
@@ -1,5 +1,5 @@
 # This Makefile.am is in the public domain
-AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/src/include 
 
 if MINGW
   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@ -9,7 +9,7 @@ if USE_COVERAGE
   AM_CFLAGS = --coverage
 endif
 
-if HAVE_POSTGRESQL
+if HAVE_SQLITE
 lib_LTLIBRARIES = libgnunetsq.la
 endif
 
@@ -17,10 +17,9 @@ libgnunetsq_la_SOURCES = \
   sq.c \
   sq_query_helper.c \
   sq_result_helper.c
-libgnunetsq_la_LIBADD = -lsq \
+libgnunetsq_la_LIBADD = -lsqlite3 \
  $(top_builddir)/src/util/libgnunetutil.la
 libgnunetsq_la_LDFLAGS = \
- $(POSTGRESQL_LDFLAGS) \
  $(GN_LIB_LDFLAGS) \
   -version-info 0:0:0