[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master] Fix building from a separate build directory.



Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Sun, 8 Nov 2009 00:38:46 -0500
Subject: Fix building from a separate build directory.
Commit: 69c0147ea6725a63f254333867c0504528c62daf

---
 src/test/Makefile.am |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/test/Makefile.am b/src/test/Makefile.am
index ea7c67e..cdb5d85 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
-- 
1.5.6.5