libevent/backport-Makefile-missing-test-dir.patch

36 lines
1.2 KiB
Diff
Raw Normal View History

2024-08-13 14:50:33 +08:00
Fix missing test directory creation.
GCC used in OE-core has "dependency tracking" disabled and
libevent has problem with this.
Due to removed makefile.am/in files in test/sample/include
directories, output directories are not created in
configuration step. Compilation step will fails, when
trying to write to non-existing directory.
Reference:http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch?h=master
Conflict:NA
Upstream-Status: Inappropriate [Other]
Workaround specific to our build system.
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
---
test/include.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/include.am b/test/include.am
index 0437524..48c7307 100644
--- a/test/include.am
+++ b/test/include.am
@@ -162,6 +162,7 @@ test_bench_httpclient_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la
test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
+ @$(MKDIR_P) test
$(AM_V_GEN)date -u > $@
$(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
true; \
--
2.33.0