diff options
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.patch | 27 |
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 @@ | |||
1 | Fix missing test directory creation. | ||
2 | |||
3 | GCC used in OE-core has "dependency tracking" disabled and | ||
4 | libevent has problem with this. | ||
5 | Due to removed makefile.am/in files in test/sample/include | ||
6 | directories, output directories are not created in | ||
7 | configuration step. Compilation step will fails, when | ||
8 | trying to write to non-existing directory. | ||
9 | |||
10 | Upstream-Status: Inappropriate [Other] | ||
11 | Workaround specific to our build system. | ||
12 | |||
13 | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> | ||
14 | Signed-off-by: Pascal Bach <pascal.bach@siemens.com> | ||
15 | |||
16 | diff --git a/libevent-2.1.8-stable/test/include.am b/libevent-2.1.8-stable/test/include.am | ||
17 | index 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; \ | ||