summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch')
-rw-r--r--meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch b/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
new file mode 100644
index 0000000000..8880bd0407
--- /dev/null
+++ b/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
@@ -0,0 +1,27 @@
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; \