From 529bb5c6a00078b588aaffa6790c2c4a0ba90327 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 30 Mar 2018 09:13:45 +0530 Subject: [PATCH] We need xkbcommon >= 0.5 --- glfw/glfw.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glfw/glfw.py b/glfw/glfw.py index 7f847b504..8b5505a6c 100755 --- a/glfw/glfw.py +++ b/glfw/glfw.py @@ -46,6 +46,9 @@ def init_env(env, pkg_config, at_least_version, module='x11'): ans.sources = sinfo['common']['sources'] + sinfo[module]['sources'] ans.all_headers = [x for x in os.listdir(base) if x.endswith('.h')] + if module in ('x11', 'wayland'): + at_least_version('xkbcommon', 0, 5) + if module == 'x11': for dep in 'x11 xrandr xinerama xcursor xkbcommon xkbcommon-x11'.split(): ans.cflags.extend(pkg_config(dep, '--cflags-only-I'))