Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

Fix unresolved symbol when linking statically#2

Open
arm32x wants to merge 1 commit into
GrowtopiaFli:masterfrom
arm32x:master
Open

Fix unresolved symbol when linking statically#2
arm32x wants to merge 1 commit into
GrowtopiaFli:masterfrom
arm32x:master

Conversation

@arm32x

@arm32x arm32x commented May 4, 2022

Copy link
Copy Markdown

When linking a Lime program statically using the -static command line option, Lime's generated main function looks for a function named extension_webm_register_prims. Prior to this commit, this function was called openfl_webm_register_prims, causing a linker error.

This commit renames this function to extension_webm_register_prims and adds an openfl_webm_register_prims wrapper function for backwards compatibility just in case someone relied on the old function name.

When linking a Lime program statically using the -static command line
option, Lime's generated main function looks for a function named
extension_webm_register_prims. Prior to this commit, this function was
called openfl_webm_register_prims, causing a linker error.

This commit renames this function to extension_webm_register_prims and
adds an openfl_webm_register_prims wrapper function for backwards
compatibility just in case someone relied on this function name.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant