xserver-multidpi/hw
Lyude Paul 4d53e30651 meson: Don't use '' in link_with, ever
String arguments as elements in the array passed to the link_with
argument in meson's executable() functions are not valid and will end up
causing the build file generation to file. This actually ended up
exposing a bug in meson that caused it not to report where in the
meson.build file it was failing:

https://github.com/mesonbuild/meson/pull/2527

The proper way to have a variable that can contain either an empty link
target or an actual link target is:

some_target = []
if some_cond
    some_target = static_library(...)
endif

This way if some_cond is False, some_target gets set to [], gets passed
to executable() in the link_with array, and then gets removed by array
flattening.

This also unbreaks Xwayland builds with -Dglx=false, the thing that
originally made me notice this.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
2017-10-24 10:53:56 -04:00
..
dmx meson: Don't use '' in link_with, ever 2017-10-24 10:53:56 -04:00
kdrive xephyr: Fix regeneration 2017-05-11 14:13:12 -04:00
vfb test: Add basic SYNC tests. 2017-09-20 13:19:27 -04:00
xfree86 modesetting: Use helper to fetch drmModeProperty(Blob)s 2017-10-23 11:40:31 -04:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz XQuartz: Hack around an issue that can occur on macOS due to background apps incorrectly stealing focus 2017-07-20 01:17:40 -07:00
xwayland xwayland: Avoid repeatedly looping through window ancestor chain 2017-09-13 11:51:10 -04:00
xwin xwin: automake: remove unused {SRCS, DEFS}_{NATIVEGDI, PRIMARYFB} 2017-08-22 10:59:41 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00