]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: handle windows naming change from .lib to .a 5618/head
authorJason Ish <jason.ish@oisf.net>
Mon, 30 Nov 2020 21:11:57 +0000 (15:11 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 1 Dec 2020 06:01:55 +0000 (07:01 +0100)
commitf3c59ef8a64f576c8784ab99a125b270f7b9c680
tree2a9dfe2b4103eb402906d7ea57ced32035b112a2
parent10f639e9d1edae14d87feb66059723d87b3efdb8
rust: handle windows naming change from .lib to .a

Prior to Rust 1.44, Cargo would name static libs with the .lib
extension. 1.44 changes this extension to .a when running under
a GNU environment on Windows like msys to make it more similar
to other unix environments.

Now assume static library name to be the same on Windows and
unix, but rename the .lib if found to still support older
versions of Rust on Windows.
configure.ac
rust/Makefile.am