mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
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
This commit is contained in:
parent
fcc6328004
commit
f5625aa825
|
@ -1,10 +1,8 @@
|
||||||
use std::path;
|
use std::path;
|
||||||
|
|
||||||
fn find_mgba_library() -> Option<&'static str> {
|
fn find_mgba_library() -> Option<&'static str> {
|
||||||
const POTENTIAL_LIBRARY_LOCATIONS: &[&str] = &[
|
const POTENTIAL_LIBRARY_LOCATIONS: &[&str] =
|
||||||
"/usr/lib/libmgba.so.0.9.0",
|
&["/usr/lib/libmgba.so.0.9", "/usr/local/lib/libmgba.so.0.9"];
|
||||||
"/usr/local/lib/libmgba.so.0.9.0",
|
|
||||||
];
|
|
||||||
|
|
||||||
POTENTIAL_LIBRARY_LOCATIONS
|
POTENTIAL_LIBRARY_LOCATIONS
|
||||||
.iter()
|
.iter()
|
||||||
|
@ -13,7 +11,7 @@ fn find_mgba_library() -> Option<&'static str> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
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()
|
cc::Build::new()
|
||||||
.file("c/test-runner.c")
|
.file("c/test-runner.c")
|
||||||
|
|
Loading…
Reference in a new issue