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 cmake_output = Config::new(&aeron_path)
let config = if cfg!(target_os = "windows") { .build_target(link_type.target_name())
config.generator("MSYS Makefiles") .build();
} else {
&mut config
};
let cmake_output = config.build_target(link_type.target_name()).build();
// Trying to figure out the final path is a bit weird; // Trying to figure out the final path is a bit weird;
// For Linux/OSX, it's just build/lib // For Linux/OSX, it's just build/lib