meson.build: link the sources directly into libxkbcommon-x11
authorPeter Hutterer <peter.hutterer@who-t.net>
Sun, 10 Feb 2019 23:19:28 +0000 (09:19 +1000)
committerRan Benita <ran234@gmail.com>
Mon, 11 Feb 2019 09:35:34 +0000 (11:35 +0200)
commit3f5095339f778a4df8f4ab46e2513585d9726ca5
treebda4986e31cbf72825dace9f110d51ac30a0e5e8
parent9f93ebcf2ba3684335db296a6e445c035bbeea9d
meson.build: link the sources directly into libxkbcommon-x11

Similar to 75ce741ab97e3d17a0c9b06dd4bdf57c00d5538e, just for the -x11
sublibrary.

This works around meson bug 3937, 'link_whole' arguments don't get added into
the final static library and we end up with a virtually empty 8-byte
libxkbcommon-x11.a file, see https://github.com/mesonbuild/meson/issues/3937

The internal lib is still built for the one test case that requires it.

Fixes #86

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build