diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-12-08 04:47:06 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-12-08 04:47:06 +0000 |
commit | 10819b4ea522915a88abfe065a93d25bfa9a14d6 (patch) | |
tree | 318ef49eccbb7b65e4d68ca7594d59863af94560 | |
parent | 3a075988e4abe4bc4d4f3fca5f97f7c55420433d (diff) | |
download | efl-10819b4ea522915a88abfe065a93d25bfa9a14d6.tar.gz |
meson - systemd - fix check to systemd209+ checks that were not done
autofoo did these and set defines code relied on. meson did not. this
fixes that and makes meson do the same checks with the same defines.
-rw-r--r-- | src/lib/eina/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build index a814673e24..8a445f4056 100644 --- a/src/lib/eina/meson.build +++ b/src/lib/eina/meson.build @@ -264,6 +264,9 @@ if get_option('systemd') == true systemd = dependency('libsystemd') eina_deps += systemd config_h.set('HAVE_SYSTEMD', '1') + if systemd.version().version_compare('>=209') + config_h.set('HAVE_SYSTEMD_LOGIN_209', '1') + endif else systemd = [] endif |