From f5625aa82596d5d6e21f0833f27d07b7c8fb8653 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sun, 23 May 2021 01:34:56 +0100 Subject: [PATCH] change 0.9.0 to 0.9 for me 0.9 is a symlink to 0.9.1 at the moment, which should be compatible --- mgba-test-runner/build.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mgba-test-runner/build.rs b/mgba-test-runner/build.rs index 72261004..663b3ac9 100644 --- a/mgba-test-runner/build.rs +++ b/mgba-test-runner/build.rs @@ -1,10 +1,8 @@ use std::path; fn find_mgba_library() -> Option<&'static str> { - const POTENTIAL_LIBRARY_LOCATIONS: &[&str] = &[ - "/usr/lib/libmgba.so.0.9.0", - "/usr/local/lib/libmgba.so.0.9.0", - ]; + const POTENTIAL_LIBRARY_LOCATIONS: &[&str] = + &["/usr/lib/libmgba.so.0.9", "/usr/local/lib/libmgba.so.0.9"]; POTENTIAL_LIBRARY_LOCATIONS .iter() @@ -13,7 +11,7 @@ fn find_mgba_library() -> Option<&'static str> { } fn main() { - let mgba_library = find_mgba_library().expect("Need mgba 0.9.0 installed"); + let mgba_library = find_mgba_library().expect("Need mgba 0.9 installed"); cc::Build::new() .file("c/test-runner.c")