diff options
author | Riccardo Calixte <riccardocalixte@gmail.com> | 2019-09-11 08:30:57 -0400 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-09-11 08:30:58 -0400 |
commit | ee8773c41af6ff71625ecc44c2077d23c3efddab (patch) | |
tree | 54bfde312b3515df3df4a36997b086789284c5e1 /data | |
parent | d961e31436b56fa70f165a8452dab4b3f08922f0 (diff) | |
download | enlightenment-ee8773c41af6ff71625ecc44c2077d23c3efddab.tar.gz |
Updating Meson build Wayland conditional to match Makefile
Summary:
The conditional logic is flawed.
If `HAVE_WAYLAND` is true, only then should the path be updated to include wayland-sessions.
Test Plan: Verified desired output in build/meson-info/intro-installed.json after testing a clean build
Reviewers: devilhorns
Subscribers: cedric, zmike
Tags: #enlightenment-git
Differential Revision: https://phab.enlightenment.org/D9868
Diffstat (limited to 'data')
-rw-r--r-- | data/session/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/session/meson.build b/data/session/meson.build index b0cfda0acc..8285b5bbd7 100644 --- a/data/session/meson.build +++ b/data/session/meson.build @@ -6,12 +6,12 @@ e_desktop = configure_file(input : 'enlightenment.desktop.in', configuration: desktop_config ) -if config_h.has('HAVE_WAYLAND_ONLY') == false +if config_h.has('HAVE_WAYLAND') == true install_data(e_desktop, - install_dir : join_paths(dir_data, 'xsessions')) + install_dir : join_paths(dir_data, 'wayland-sessions')) endif -if config_h.has('HAVE_WAYLAND') == false +if config_h.has('HAVE_WAYLAND_ONLY') == false install_data(e_desktop, - install_dir : join_paths(dir_data, 'wayland-sessions')) + install_dir : join_paths(dir_data, 'xsessions')) endif |