Merge pull request #28 from corwinkuiper/mgba-0.9

change 0.9.0 to 0.9
This commit is contained in:
Corwin 2021-05-23 01:38:40 +01:00 committed by GitHub
commit 7f4e941b50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")