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

Fix unresolved symbol when linking statically #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arm32x
Copy link

@arm32x arm32x commented May 4, 2022

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