1Fix missing test directory creation.
2
3GCC used in OE-core has "dependency tracking" disabled and
4libevent has problem with this.
5Due to removed makefile.am/in files in test/sample/include
6directories, output directories are not created in
7configuration step. Compilation step will fails, when
8trying to write to non-existing directory.
9
10Upstream-Status: Inappropriate [Other]
11Workaround specific to our build system.
12
13Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
14Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
15
16diff --git a/libevent-2.1.8-stable/test/include.am b/libevent-2.1.8-stable/test/include.am
17index eea249f..d323dff 100644
18--- a/test/include.am
19+++ b/test/include.am
20@@ -161,6 +161,7 @@ test_bench_httpclient_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la
21 test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
22
23 test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
24+	@$(MKDIR_P) test
25 	$(AM_V_GEN)date -u > $@
26 	$(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
27 	   true; \
28