Skip to content

don't hardcode a version suffix in the libwayland-egl dlopen - #2426

Closed
Izder456 wants to merge 1 commit into
melonDS-emu:masterfrom
Izder456:master
Closed

don't hardcode a version suffix in the libwayland-egl dlopen#2426
Izder456 wants to merge 1 commit into
melonDS-emu:masterfrom
Izder456:master

Conversation

@Izder456

Copy link
Copy Markdown
Contributor

This bug was discovered by thfr on the OpenBSD ports mailing list. Hardcoding this is not very portable. Shouldn't break other *NIX platforms like Darwin or Linux.

@CasualPokePlayer

CasualPokePlayer commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

This can (and will) break other *nix platforms. Generally, the non-suffix variant is only available as a dev package (as a symlink for building purposes). That suffix indicates the ABI version, and if it's not 1 in this case, that means the ABI is different, and therefore you cannot assume you can even correctly handle whatever you're trying to link.

@Izder456

Copy link
Copy Markdown
Contributor Author

Alrighty then. I'll go and close this then.

@Izder456 Izder456 closed this Sep 10, 2025
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.

2 participants