Skip to contentSkip to conversation

suricata: fix compile issue

PATCH Superseded Armin Kuster 1 participant 1 message Aug 13, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 suricata: fix compile issue

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

---
 recipes-ids/suricata/suricata_6.0.6.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-ids/suricata/suricata_6.0.6.bb +2 -0
index 35054ef..efa4bdd 100644
@@ -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:host:' ${S}/configure.ac
     oe_runconf
 }
 
Signature · 1 line
2.25.1