Skip to content

Error with clang based android build of python (yan12125/python3-android) #3

@textshell

Description

@textshell

I'm trying to use crossenv with a python build for android via https://github.com/yan12125/python3-android . This builds python with clang from google's android ndk.

I get the following error:

$ venv-native-only/bin/python -m crossenv python3-android/build/target/python/usr/bin/python3.8m venv-cross
clang: error: unknown argument: '-print-sysroot'
clang: error: no input files
ERROR: Command '['/home/build/dev/python3-android/venv-cross/build/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']' died with <Signals.SIGABRT: 6>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions