mirror of
https://github.com/mamedev/mame.git
synced 2024-09-29 17:38:18 +02:00
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:
parent
926fe9bc82
commit
7018e93c32
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue