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

fix: linker error when enable_ppapi=false #36190

Closed
wants to merge 1 commit into from
Closed

Conversation

brjsp
Copy link
Contributor

@brjsp brjsp commented Oct 29, 2022

Description of Change

When building electron 21.2.0 on linux with gcc, no LTO and enable_plugins=false enable_ppapi=false, i'm getting a linker error at the very end (missing symbols).
The error does not happen when compiling with LTO, as all the references are in code that is dead when enable_ppapi=false.

This patch fixes the error for me.

Release Notes

none

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 29, 2022
@miniak
Copy link
Contributor

miniak commented Oct 31, 2022

Duplicate of #36193

@miniak miniak marked this as a duplicate of #36193 Oct 31, 2022
@brjsp brjsp closed this Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-pr 🌱 PR opened in the last 24 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants