Skip to content

Commit

Permalink
Ensure Android library builds include a DT_NEEDED entry for libluajit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pip Cet committed Nov 19, 2024
1 parent 4891a6a commit 0a590d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlua-sys/src/lua51/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ pub type lua_Alloc =
unsafe extern "C-unwind" fn(ud: *mut c_void, ptr: *mut c_void, osize: usize, nsize: usize) -> *mut c_void;

#[cfg_attr(all(windows, raw_dylib), link(name = "lua51", kind = "raw-dylib"))]
#[cfg_attr(all(target_os = "android", feature = "luajit"), link(name = "luajit-5.1"))]
extern "C-unwind" {
//
// State manipulation
Expand Down

0 comments on commit 0a590d0

Please sign in to comment.