]> git.ipfire.org Git - thirdparty/suricata.git/commit
automake/rust: remove path.lib
authorJason Ish <jason.ish@oisf.net>
Fri, 12 Apr 2024 03:29:50 +0000 (21:29 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 12 Apr 2024 09:45:45 +0000 (11:45 +0200)
commitb9127e8b9651636c283a01a24ccfc92173f98c61
treec5638c9a17da486822a891e62b817632b56a853e
parent172775ed84b811007a10a68e857994a676da637e
automake/rust: remove path.lib

Remove the path.lib parameter that is substituted into the output
Cargo.toml by autoconf. Instead, as part of the build, "cd" into the
source directory. We already set the Rust target directory to the
external build directory.

This makes the Cargo.toml more generic, and in a format suitable for
publishing to crates.io. It also makes it easier to pull in external
crates without needing to patch up their Cargo.toml, for example, it
might make pulling libhtp-rs easier.
rust/Cargo.toml.in
rust/Makefile.am
rust/derive/Cargo.toml.in