]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: handle windows naming change from .lib to .a 5623/head
authorJason Ish <jason.ish@oisf.net>
Mon, 30 Nov 2020 21:11:57 +0000 (15:11 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 1 Dec 2020 16:54:16 +0000 (10:54 -0600)
commita5e14258f92e3feed56127366ab2973d8e4aafd3
treed5a827e576a261b801398be78f5c701f7e0e3f6f
parent976f4a2d38cbf252ac8fc3d9fe67c619b914b8c2
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.

(cherry picked from commit f3c59ef8a64f576c8784ab99a125b270f7b9c680)
configure.ac
rust/Makefile.am