Fix Android native Git child exit handling so committed levels validate and Git calls avoid SIGSEGV status 139
This commit is contained in:
@@ -450,7 +450,7 @@ build_android_git_for_abi() {
|
||||
local output_dir="$ANDROID_JNI_DIR/$abi"
|
||||
local output_binary="$output_dir/libgit.so"
|
||||
local stamp="$output_dir/.source-fingerprint"
|
||||
local fingerprint="$3:android:$abi:$cc:$ANDROID_API"
|
||||
local fingerprint="$3:android:$abi:$cc:$ANDROID_API:githug-embedded-main"
|
||||
|
||||
require_path "$ANDROID_TOOLBIN/$cc"
|
||||
|
||||
@@ -470,6 +470,7 @@ build_android_git_for_abi() {
|
||||
NO_PTHREADS=YesPlease \
|
||||
NO_LIBGEN_H=YesPlease \
|
||||
HAVE_DEV_TTY=YesPlease \
|
||||
CFLAGS_APPEND=-DGITHUG_EMBEDDED_MAIN \
|
||||
CC="$cc" \
|
||||
AR=llvm-ar \
|
||||
RANLIB=llvm-ranlib \
|
||||
|
||||
Reference in New Issue
Block a user