Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webview build can't find SDL_setenv. #1702

Closed
dbrnz opened this issue Feb 11, 2019 · 2 comments · Fixed by #1714
Closed

Webview build can't find SDL_setenv. #1702

dbrnz opened this issue Feb 11, 2019 · 2 comments · Fixed by #1714

Comments

@dbrnz
Copy link
Contributor

dbrnz commented Feb 11, 2019

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

@AndreMiras
Copy link
Member

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

@dbrnz
Copy link
Contributor Author

dbrnz commented Feb 18, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants