1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-21 21:38:09 -05:00

Minor build cleanup

This commit is contained in:
Bradlee Speice 2020-03-07 19:38:28 -05:00
parent c0de7f580e
commit 3d2ba4a161

View File

@ -47,8 +47,7 @@ pub fn main() {
link_type.target_name() link_type.target_name()
); );
match link_type { if let LinkType::Static = link_type {
LinkType::Static => {
// On Windows, there are some extra libraries needed for static link // On Windows, there are some extra libraries needed for static link
// that aren't included by Aeron. // that aren't included by Aeron.
if cfg!(target_os = "windows") { if cfg!(target_os = "windows") {
@ -56,8 +55,6 @@ pub fn main() {
println!("cargo:rustc-link-lib=iphlpapi"); println!("cargo:rustc-link-lib=iphlpapi");
} }
} }
_ => (),
};
let cmake_output = Config::new(&aeron_path) let cmake_output = Config::new(&aeron_path)
.build_target(link_type.target_name()) .build_target(link_type.target_name())