diff --git a/build.rs b/build.rs index bea7d1f..d704a30 100644 --- a/build.rs +++ b/build.rs @@ -96,12 +96,9 @@ mod mac { assert!(status.success(), "failed to fetchDependencies"); - let mut target = target_name.to_owned(); - target.push_str("-debug"); - let status = Command::new("make") .current_dir(&checkout_dir) - .arg(target) + .arg(target_name) .spawn() .expect("failed to build MoltenVK") .wait()