Skip to content

Conversation

@revmischa
Copy link
Member

Fixes SOIL2 failing to link when building with OpenGL ES on Linux.

When EGL is available (OpenGL::EGL target exists), link it to SOIL2.
When not available, define SOIL_NO_EGL to disable EGL-related code.

Fixes #926

When building for GLES platforms, SOIL2 uses eglGetProcAddress but the
EGL library wasn't being linked, causing undefined symbol errors at
runtime on systems like Raspberry Pi OS.

Fixes #926
@revmischa revmischa requested a review from Copilot January 25, 2026 06:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

[DEV BUG] EGL Missing from build causing crash

1 participant