Add C compiler flags for Wayland EGL from pkgconfig to OSD build options on Linux. (#12194)

This will hopefully fix compiling on openSUSE where Wayland headers are in /usr/include/wayland.
This commit is contained in:
Julian Sikorski 2024-03-30 16:52:05 +01:00 committed by GitHub
parent 926fe9bc82
commit 7018e93c32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,11 @@ if _OPTIONS["USE_WAYLAND"]=="1" then
defines {
"SDLMAME_USE_WAYLAND",
}
if _OPTIONS["targetos"]=="linux" then
buildoptions {
backtick(pkgconfigcmd() .. " --cflags wayland-egl"),
}
end
end
if _OPTIONS["NO_USE_XINPUT"]=="1" then