adding glpk to the makefile
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 11 Jan 2012 12:41:23 +0000 (12:41 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 11 Jan 2012 12:41:23 +0000 (12:41 +0000)
src/ats/Makefile.am

index 319c6367ade6345eb3393b72a9e3459f4b122065..f2fe12b44716d3b48b2ee8b9cf8db85e10b1e4bd 100644 (file)
@@ -13,6 +13,10 @@ if USE_COVERAGE
   AM_CFLAGS = -fprofile-arcs -ftest-coverage
 endif
 
+if HAVE_LIBGLPK
+  GN_LIBGLPK = -lglpk
+endif
+
 lib_LTLIBRARIES = libgnunetats.la
 
 libgnunetats_la_SOURCES = \
@@ -39,6 +43,7 @@ gnunet_service_ats_SOURCES = \
 gnunet_service_ats_LDADD = \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/util/libgnunetutil.la \
+  $(GN_LIBGLPK) \
   $(GN_LIBINTL)