Fix building from a separate build directory.

This commit is contained in:
Nick Mathewson 2009-11-08 00:38:46 -05:00
parent 2db0256372
commit 69c0147ea6

View 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