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

Switch back to MinGW makefiles

This commit is contained in:
Bradlee Speice 2020-01-12 17:56:12 -05:00
parent 05f0ad5067
commit 18ddd92948

View File

@ -59,13 +59,9 @@ pub fn main() {
_ => (),
};
let mut config = Config::new(&aeron_path);
let config = if cfg!(target_os = "windows") {
config.generator("MSYS Makefiles")
} else {
&mut config
};
let cmake_output = config.build_target(link_type.target_name()).build();
let cmake_output = Config::new(&aeron_path)
.build_target(link_type.target_name())
.build();
// Trying to figure out the final path is a bit weird;
// For Linux/OSX, it's just build/lib