From e9c53711eb9cd1694379185b90b48603fe15f73a Mon Sep 17 00:00:00 2001 From: Fenrir Date: Fri, 28 Jul 2023 15:53:04 -0600 Subject: [PATCH] TEST: Try to pass CI --- ctru-sys/build.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ctru-sys/build.rs b/ctru-sys/build.rs index 39cd2439..1f4b8f26 100644 --- a/ctru-sys/build.rs +++ b/ctru-sys/build.rs @@ -77,6 +77,11 @@ fn main() { sysroot.to_str().unwrap(), "-isystem", system_include.to_str().unwrap(), + "-isystem", + PathBuf::from(devkitarm.as_str()) + .join("lib/gcc/arm-none-eabi/13.1.0/include") + .to_str() + .unwrap(), "-I", include_path.to_str().unwrap(), "-mfloat-abi=hard", @@ -109,7 +114,7 @@ fn main() { .flag("-mfpu=vfp") .flag("-mtp=soft") .flag("-Wno-deprecated-declarations") - .compile("libctru_statics_wrapper"); + .compile("ctru_statics_wrapper"); } fn parse_version(version: &str) -> Result<(String, String, String), &str> {