close
Skip to content

ANativeActivity_onCreate is not exported in sfml-main (fixes #1457)#1460

Merged
eXpl0it3r merged 1 commit into
SFML:masterfrom
texus:bugfix/android-hidden-ANativeActivity_onCreate
Jul 28, 2018
Merged

ANativeActivity_onCreate is not exported in sfml-main (fixes #1457)#1460
eXpl0it3r merged 1 commit into
SFML:masterfrom
texus:bugfix/android-hidden-ANativeActivity_onCreate

Conversation

@texus

@texus texus commented Jul 27, 2018

Copy link
Copy Markdown
Contributor

This PR is fixes issue #1457

The ANativeActivity_onCreate function is not exported in libsfml-example.so so dlsym will either return NULL or recursively call the one from sfml-activity (if sfml-activity is being used to load ANativeActivity_onCreate).

Without this fix, SFML doesn't seem to run on android.

@MarioLiebisch MarioLiebisch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, get it merged as soon as possible together with #1458. :)

@eXpl0it3r eXpl0it3r merged commit f22b9b7 into SFML:master Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants