aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-11-08 00:38:46 -0500
committerNick Mathewson <nickm@torproject.org>2009-11-08 00:38:46 -0500
commit69c0147ea6725a63f254333867c0504528c62daf (patch)
treef06e9835e5162a6f135aac5d3eb778ab76e44905 /src
parent2db0256372e02edfa517ad5b56106f7210ddd7ab (diff)
downloadtor-69c0147ea6725a63f254333867c0504528c62daf.tar
tor-69c0147ea6725a63f254333867c0504528c62daf.tar.gz
Fix building from a separate build directory.
Diffstat (limited to 'src')
-rw-r--r--src/test/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am
index ea7c67eda..cdb5d85c2 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