Skip to content

Webview build can't find SDL_setenv. #1702

Description

@dbrnz

I'm attempting to build the Python3 webview test app from the master branch using NDK 19 and an arm64-v8a target. However linking libmain.so fails with undefined reference to 'SDL_setenv'.

I see start.c references SDL_setenv in Java_org_kivy_android_PythonActivity_nativeSetenv() which is compiled because BOOTSTRAP_NAME_WEBVIEW is defined. Is it intended to call SDL_setenv given that SDL.h has not been included (since a webview build defines BOOTSTRAP_USES_NO_SDL_HEADERS)??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions