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

emscripten: fix undefined symbol errors in non-threaded builds #5773

Merged
merged 2 commits into from
Jun 8, 2022

Conversation

Daft-Freak
Copy link
Collaborator

Description

Changes the framebuffer/cursor proxying code to use MAIN_THREAD_EM_ASM instead of emscripten_sync_run_in_main_runtime_thread with a function wrapping the EM_ASM. This is how everything else was handled.

Fixes this error
error: undefined symbol: emscripten_sync_run_in_main_runtime_thread_
caused by the proxying changes (caught while trying to update Emscripten to the latest release(emscripten-core/emscripten#16916)).

This is how everything else was handled and fixes undefined symbol
errors in non-threads builds.
@madebr
Copy link
Contributor

madebr commented Jun 8, 2022

Can you remove this line so we test building an application on ci?

if: ${{ false }} # FIXME: cmake/test/CMakeLists.txt should support emscripten

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 this pull request may close these issues.

3 participants