]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix building from a separate build directory.
authorNick Mathewson <nickm@torproject.org>
Sun, 8 Nov 2009 05:38:46 +0000 (00:38 -0500)
committerNick Mathewson <nickm@torproject.org>
Sun, 8 Nov 2009 05:38:46 +0000 (00:38 -0500)
src/test/Makefile.am

index ea7c67eda75a13afc4c5bde53a57e58561caf3e0..cdb5d85c28cc4d213b2562a53d808e93340e5704 100644 (file)
@@ -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