Commit 0e42be7a authored by Kenton Varda's avatar Kenton Varda Committed by Kenton Varda

Attempt to fix reported problem about 'src' directory not existing in out-of-tree build.

parent e1b5ac77
......@@ -375,12 +375,14 @@ test_capnpc_outputs = \
if USE_EXTERNAL_CAPNP
test_capnpc_middleman: $(test_capnpc_inputs)
@mkdir -p src
$(CAPNP) compile --src-prefix=$(srcdir)/src -o$(CAPNPC_CXX):src -I$(srcdir)/src $^
touch test_capnpc_middleman
else
test_capnpc_middleman: capnp$(EXEEXT) capnpc-c++$(EXEEXT) $(test_capnpc_inputs)
@mkdir -p src
echo $^ | (read CAPNP CAPNPC_CXX SOURCES && ./$$CAPNP compile --src-prefix=$(srcdir)/src -o./$$CAPNPC_CXX:src -I$(srcdir)/src $$SOURCES)
touch test_capnpc_middleman
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment