tools: link the tools against libxkbcommon.so only
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 24 Jul 2020 03:31:03 +0000 (13:31 +1000)
committerRan Benita <ran@unusedvar.com>
Sat, 25 Jul 2020 08:05:14 +0000 (11:05 +0300)
commitce5eb1ac6d542bea11222670ec8438cdd074a833
tree4695eaa208645c4fe976230c841489c561ddeb8d
parenta472e030ea72c6f901dfec572ccbecb5b1b1f3d6
tools: link the tools against libxkbcommon.so only

The tools previously linked against a static version (by simply recompiling
everythiong). This isn't necessary, we can link them against libxkbcommon.so.

Only exception: The xbkcli-compile-keymap tool needs a private API for the
--kccgst flag. Avoid this by disabling this flag in the installed tool and
building the same tool, statically linked but not-installed.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build
tools/compile-keymap.c
tools/xkbcli-compile-keymap.1