Skip to content

Webview build can't find SDL_setenv. #1702

Closed

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)??

Activity

  1. AndreMiras commented on Feb 18, 2019

    @AndreMiras
    Member

    Thanks for the report, you can now try on p4a master since @j-devel fixed the regression recently

  2. dbrnz commented on Feb 18, 2019

    @dbrnz
    ContributorAuthor

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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