From 69c0147ea6725a63f254333867c0504528c62daf Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 8 Nov 2009 00:38:46 -0500 Subject: [PATCH] Fix building from a separate build directory. --- src/test/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/Makefile.am b/src/test/Makefile.am index ea7c67eda7..cdb5d85c28 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -4,9 +4,8 @@ noinst_PROGRAMS = test AM_CPPFLAGS = -DSHARE_DATADIR="\"$(datadir)\"" \ -DLOCALSTATEDIR="\"$(localstatedir)\"" \ - -DBINDIR="\"$(bindir)\"" - -AM_CFLAGS = -I../or + -DBINDIR="\"$(bindir)\"" \ + -I"$(top_srcdir)/src/or" # -L flags need to go in LDFLAGS. -l flags need to go in LDADD. # This seems to matter nowhere but on windows, but I assure you that it -- 2.11.4.GIT