summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMalcolm Smith <smith@chaquo.com>2024-04-30 14:00:31 (GMT)
committerGitHub <noreply@github.com>2024-04-30 14:00:31 (GMT)
commit3b268f4edc02b22257d745363b5cae199b6e5720 (patch)
tree6a485b90d723817ae9a16b4bad5995f77698a364 /configure
parent11f8348d78c22f85694d7a424541b34d6054a8ee (diff)
downloadcpython-3b268f4edc02b22257d745363b5cae199b6e5720.zip
cpython-3b268f4edc02b22257d745363b5cae199b6e5720.tar.gz
cpython-3b268f4edc02b22257d745363b5cae199b6e5720.tar.bz2
gh-116622: Redirect stdout and stderr to system log when embedded in an Android app (#118063)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 571ab8c..e1d0f36 100755
--- a/configure
+++ b/configure
@@ -7103,6 +7103,9 @@ printf "%s\n" "$ANDROID_API_LEVEL" >&6; }
printf "%s\n" "#define ANDROID_API_LEVEL $ANDROID_API_LEVEL" >>confdefs.h
+ # For __android_log_write() in Python/pylifecycle.c.
+ LIBS="$LIBS -llog"
+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
printf %s "checking for the Android arm ABI... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5