Disable feature/dircache files when dircache module is disabled.
commit8a0c739467c87c6d7358d112bd1400250ad6e5c4
authorNick Mathewson <nickm@torproject.org>
Thu, 9 Jan 2020 02:13:29 +0000 (8 21:13 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 16 Jan 2020 12:48:17 +0000 (16 07:48 -0500)
tree573712476bafa3d8bda112b1c084fa0696343a88
parent6e12a8f04714aa56308b06c691066cc3d4b0090b
Disable feature/dircache files when dircache module is disabled.

To make Tor still work, we define a minimal dircache_stub.c file
that defines the entry points to the module that can actually be
seen by the compiler when we're building with dircache and relay
disabled.
src/core/include.am
src/feature/dircache/dircache_stub.c [new file with mode: 0644]