Skip to contentSkip to conversation

suricata: fix compile issue

PATCH New Armin Kuster 1 participant 1 message Aug 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 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'

---
[v2]
use RUST_HOST_SYS instead

---
 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..ce9aca8 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},${RUST_HOST_SYS},' ${S}/configure.ac
     oe_runconf
 }
 
Signature · 1 line
2.25.1