Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

render: drop libEGL dependency if gles2 is disabled #3241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions render/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ wlr_files += files(
'wlr_texture.c',
)

egl = dependency('egl', required: 'gles2' in renderers)
if egl.found()
wlr_deps += egl
wlr_files += files('egl.c')
endif

if 'gles2' in renderers or 'auto' in renderers
egl = dependency('egl', required: 'gles2' in renderers)
if egl.found()
wlr_deps += egl
wlr_files += files('egl.c')
endif
subdir('gles2')
endif

Expand Down