浏览代码

Rebuild or and test binaries when a libor.a changes but or/*.c does not.

svn:r247
Nick Mathewson 22 年之前
父节点
当前提交
6fd4f2a17f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/or/Makefile.am

+ 2 - 2
src/or/Makefile.am

@@ -9,14 +9,14 @@ or_SOURCES = buffers.c circuit.c command.c connection.c \
              onion.c routers.c directory.c dns.c connection_edge.c \
              main.c tor_main.c
 
-or_LDADD = -L../common -lor -lz
+or_LDADD = ../common/libor.a -lz
 
 test_SOURCES = buffers.c circuit.c command.c connection.c \
              connection_exit.c connection_ap.c connection_op.c connection_or.c config.c \
              onion.c routers.c directory.c dns.c connection_edge.c \
              main.c test.c
 
-test_LDADD = -L../common -lor -lz
+test_LDADD = ../common/libor.a -lz
 
 noinst_HEADERS = or.h tree.h