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

meson: Use a partial dependency to pass EGL module flags #71

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

aperezdc
Copy link
Contributor

Make Meson try to always find an egl dependency, if found extract the include directories and compiler flags from ir using a partial dependency, otherwise check that at least EGL/eglplatform.h is available when the pkg-config module is not found.

Fixes #70

@aperezdc aperezdc added the merge:libwpe-1.8 PR should be merged to the 1.8 branch as well label Sep 15, 2020
@aperezdc aperezdc self-assigned this Sep 15, 2020
Make Meson try to always find an "egl" dependency, if found extract
the include directories and compiler flags from ir using a partial
dependency, otherwise check that at least EGL/eglplatform.h is
available when the pkg-config module is not found.

Fixes #70
@aperezdc aperezdc merged commit e87c99f into master Sep 16, 2020
@aperezdc aperezdc deleted the aperezdc/meson-egl-cflags branch September 16, 2020 07:40
@aperezdc
Copy link
Contributor Author

Cherry picked to the libwpe-1.8 branch as commit 4c763f4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge:libwpe-1.8 PR should be merged to the 1.8 branch as well
Development

Successfully merging this pull request may close these issues.

Meson: EGL library compilation flags not passed to compiler
2 participants