Browse Source

Use linker_fix_3ds via dependency instead of static lib

pull/10/head
AzureMarker 3 years ago
parent
commit
271125cabe
No known key found for this signature in database
GPG Key ID: 47A133F3BF9D03D3
  1. 1
      ctru-sys/Cargo.toml
  2. 1
      ctru-sys/build.rs
  3. BIN
      ctru-sys/liblinker_fix_3ds.a
  4. 1
      ctru-sys/src/lib.rs

1
ctru-sys/Cargo.toml

@ -6,3 +6,4 @@ license = "https://en.wikipedia.org/wiki/Zlib_License"
[dependencies] [dependencies]
libc = { version = "0.2", default-features = false } libc = { version = "0.2", default-features = false }
linker-fix-3ds = { git = "https://github.com/AzureMarker/rust-linker-fix-3ds.git" }

1
ctru-sys/build.rs

@ -27,5 +27,4 @@ fn main() {
println!("cargo:rustc-link-lib=static=sysbase"); println!("cargo:rustc-link-lib=static=sysbase");
println!("cargo:rustc-link-lib=static=c"); println!("cargo:rustc-link-lib=static=c");
println!("cargo:rustc-link-lib=static=pthread_3ds"); println!("cargo:rustc-link-lib=static=pthread_3ds");
println!("cargo:rustc-link-lib=static=linker_fix_3ds");
} }

BIN
ctru-sys/liblinker_fix_3ds.a

Binary file not shown.

1
ctru-sys/src/lib.rs

@ -4,5 +4,6 @@
#![no_std] #![no_std]
extern crate libc; extern crate libc;
extern crate linker_fix_3ds;
include!("bindings.rs"); include!("bindings.rs");

Loading…
Cancel
Save