Yocto Project Discussions
 help / color / mirror / Atom feed
* [meta-security][v2][PATCH] suricata: fix compile issue
@ 2022-08-27 11:42 Armin Kuster
  0 siblings, 0 replies; only message in thread
From: Armin Kuster @ 2022-08-27 11:42 UTC (permalink / raw)
  To: yocto

make[2]: *** No rule to make target '../rust/target/arm-poky-linux-gnueabi/release/libsuricata.a', needed by 'suricata'

Signed-off-by: Armin Kuster <akuster808@gmail.com>

---
[v2]
use RUST_HOST_SYS instead
---
 recipes-ids/suricata/suricata_6.0.6.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-ids/suricata/suricata_6.0.6.bb b/recipes-ids/suricata/suricata_6.0.6.bb
index 35054ef..ce9aca8 100644
--- a/recipes-ids/suricata/suricata_6.0.6.bb
+++ b/recipes-ids/suricata/suricata_6.0.6.bb
@@ -145,6 +145,8 @@ export logdir = "${localstatedir}/log"
 CACHED_CONFIGUREVARS = "ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
 
 do_configure:prepend () {
+    # use host for RUST_SURICATA_LIB_XC_DIR
+    sed -i -e 's,\${host_alias},${RUST_HOST_SYS},' ${S}/configure.ac
     oe_runconf
 }
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-27 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-27 11:42 [meta-security][v2][PATCH] suricata: fix compile issue Armin Kuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox