Skip to content

Commit

Permalink
Fix luajit android build
Browse files Browse the repository at this point in the history
Fix crash issue when invoke `luaL_openlibs`
  • Loading branch information
halx99 authored Jan 20, 2025
1 parent be3844e commit bb36918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luajit/build1.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else {
if ( !(Test-Path "${NDKCROSS}strip" -PathType Leaf) ) {
ln $NDKBIN/llvm-strip ${NDKCROSS}strip
}
$CONFIG_TARGET = @("HOST_CC=$HOST_CC", "CROSS=$NDKCROSS", "STATIC_CC=$NDKCC", "DYNAMIC_CC=$NDKCC -fPIC", "TARGET_LD=$NDKCC", "TARGET_SYS=`"Linux`"")
$CONFIG_TARGET = @("HOST_CC=$HOST_CC", "CROSS=$NDKCROSS", "STATIC_CC=$NDKCC", "DYNAMIC_CC=$NDKCC -fPIC", "TARGET_LD=$NDKCC")
}
elseif ($is_darwin_family) {
if ($Global:is_mac) {
Expand Down

0 comments on commit bb36918

Please sign in to comment.