Set poll_LIBS = libpoll.a in Makefile.am so dependency tracking works

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2012-04-21 02:16:01 -04:00
parent 735dcd6ad5
commit 7fe9f29448
3 changed files with 8 additions and 5 deletions
+4
View File
@@ -3,6 +3,10 @@ if COND_THIRD_LIBSTDDJB
STDDJB_LDFLAGS += $(top_builddir)/third/libstddjb/libstddjb.a
STDDJB_CPPFLAGS += -I$(top_srcdir)/third/libstddjb
endif
if COND_THIRD_POLL
poll_LIBS += $(top_builddir)/third/poll/libpoll.a
poll_CFLAGS += -I$(top_srcdir)/third/poll
endif
AM_CPPFLAGS = -I$(srcdir)/../statesync -I$(srcdir)/../terminal -I$(srcdir)/../network -I$(srcdir)/../crypto -I../protobufs -I$(srcdir)/../util $(STDDJB_CPPFLAGS) $(TINFO_CFLAGS) $(protobuf_CFLAGS) $(poll_CFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(PICKY_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXFLAGS)