aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-06 11:00:32 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-06 11:00:32 -0400
commit30fe9080e70aa2ebdf1c2bf86e98fe46b1ad27e1 (patch)
tree8c801f1fb677a25d342449fbd5031566eb6c2ab2
parent5d162d5a7b6b8ce9075cd6987cc6cda119b433ff (diff)
downloadtor-30fe9080e70aa2ebdf1c2bf86e98fe46b1ad27e1.tar
tor-30fe9080e70aa2ebdf1c2bf86e98fe46b1ad27e1.tar.gz
Fix a dependency: micro-revision.i influences tor_main.o, not tor_main.c
-rw-r--r--changes/bug67784
-rw-r--r--src/or/include.am2
2 files changed, 4 insertions, 2 deletions
diff --git a/changes/bug6778 b/changes/bug6778
index 4448d1508..9149f70ea 100644
--- a/changes/bug6778
+++ b/changes/bug6778
@@ -1,4 +1,6 @@
o Minor bugfixes:
- Avoid a warning when building common_sha1.i out of tree. Fixes bug
6778; bugfix on 0.2.4.1-alpha.
- - Fix a mis-declared dependency on src/common/crypto.c.
+ - Fix mis-declared dependencies on src/common/crypto.c and
+ src/or/tor_main.c that could break out-of-tree builds under some
+ circumstances. Fixes bug 6778; bugfix on 0.2.4.1-alpha.
diff --git a/src/or/include.am b/src/or/include.am
index 34cd307b4..97072dce2 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -64,7 +64,7 @@ src_or_libtor_a_SOURCES = \
src_or_tor_SOURCES = src/or/tor_main.c
AM_CPPFLAGS += -I$(srcdir)/src/or -Isrc/or
-src/or/tor_main.c: micro-revision.i
+src/or/tor_main.o: micro-revision.i
AM_CPPFLAGS += -DSHARE_DATADIR="\"$(datadir)\"" \
-DLOCALSTATEDIR="\"$(localstatedir)\"" \