mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 19:57:45 +00:00
Remove build.rs, move linker step to installer file
This commit is contained in:
parent
e8183b3af6
commit
343e972b7d
2 changed files with 1 additions and 3 deletions
3
build.rs
3
build.rs
|
@ -1,3 +0,0 @@
|
||||||
fn main() {
|
|
||||||
println!("cargo:rustc-link-lib=dylib=unshield");
|
|
||||||
}
|
|
|
@ -32,6 +32,7 @@ const GAME_COMPONENT_FILES: [&str; 1] = ["ffxivgame.ver"];
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
struct Unshield;
|
struct Unshield;
|
||||||
|
|
||||||
|
#[link(name = "unshield")]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn unshield_open(filename: *const c_char) -> *mut Unshield;
|
fn unshield_open(filename: *const c_char) -> *mut Unshield;
|
||||||
fn unshield_close(unshield: *mut Unshield);
|
fn unshield_close(unshield: *mut Unshield);
|
||||||
|
|
Loading…
Add table
Reference in a new issue